Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unbinding CTRL-V from Paste will still paste from clipboard #13403

Closed
mattrobineau opened this issue Jun 30, 2022 · 2 comments
Closed

Unbinding CTRL-V from Paste will still paste from clipboard #13403

mattrobineau opened this issue Jun 30, 2022 · 2 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting

Comments

@mattrobineau
Copy link

Windows Terminal version

1.13.11431.0

Windows build number

10.0.19044.1766

Other Software

Powershell

Steps to reproduce

  1. Go to Settings > Actions
  2. Select edit (pencil) next to Paste
  3. Click delete (trash can)
  4. Click Save
  5. Optional: close and reopen Terminal
  6. Open a Powershell tab
  7. Copy some text from somewhere
  8. Press CTRL-v

Alternatively:
Add the following lines to the JSON file

{
...........snip........
       "actions": 
    [
...........snip........
        {
            "command": "paste"
        },
        {
            "command": "unbound",
            "keys": "ctrl+v"
        },
...........snip........
    ],
...........snip........
}

Note: these were added when I followed the steps above.

Expected Behavior

Pressing the keys CTRL+v should do nothing (or write ^V)

Actual Behavior

Pressing CTRL+v pastes the text from the clipboard

@mattrobineau mattrobineau added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Jun 30, 2022
@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Jun 30, 2022
@mattrobineau
Copy link
Author

It appears that this issue is related to #5790 which is specific to Vim.

@mattrobineau
Copy link
Author

Closing as this is not an issue with Windows Terminal but a side effect of powershell.
See this comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting
Projects
None yet
Development

No branches or pull requests

1 participant