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

Open
opened 2026-01-31 05:55:49 +00:00 by claunia · 0 comments
Owner

Originally created by @mattrobineau on GitHub (Jun 30, 2022).

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

Originally created by @mattrobineau on GitHub (Jun 30, 2022). ### 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
claunia added the Needs-TriageIssue-BugNeeds-Tag-Fix labels 2026-01-31 05:55:49 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17831