Binding Ctrl-C to "copy" prevents using Ctrl-C for cancelling a command #2210
Labels
Area-Input
Related to input processing (key presses, mouse, etc.)
Area-Settings
Issues related to settings and customizability, for console or terminal
Help Wanted
We encourage anyone to jump in on these.
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Product-Terminal
The new Windows Terminal.
Resolution-Duplicate
There's another issue on the tracker that's pretty much the same thing.
Description of the new feature/enhancement
Right now when you add the following to your keybindings:
It prevents Ctrl-C from terminating processes, even when there's no current text selection.
If I remove the keybinding (or change it to "ctrl+shift+c"), then I get my Ctrl-C for terminating processes back, but lose the ability to copy with Ctrl-C when text is selected.
Compare this with the current command prompt, where pressing Ctrl-C when no text is selected cancels/terminates whatever process is running, while pressing Ctrl-C with text selected copies the text.
My guess is that keybindings probably need to have an extra additional option for "this keybinding is only active while text is selected".
The text was updated successfully, but these errors were encountered: