-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Copy and Paste Bug while using Ctrl + C and Ctrl + V shortcuts #2420
Comments
Do you have keybindings for |
Also, please refer to the user documentation |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. |
Has there been a discussion of changing the defaults to ctrl+c/ctrl+v by default similar to how the default conhost+cmd experience in windows is at the moment? (I assume there is a reason like making a lot of *nix programs hard to use?..) |
We explicitly changed the defaults away from Ctrl+C/Ctrl+V because of that reason -- it's hard to use your shell and your CLI applications when your terminal emulator gets in the way by eating common key combos. #2446 goes a long way to fixing this, because it lets you bind Ctrl+C over copy but still send We're trying to make something approachable for Windows and Linux folks, but in some cases the best we can do is choose one option and make it trivially easy to change for the people who disagree. |
Okay |
@DHowett-MSFT What was wrong w/ how it worked in the other command prompt? If text is selected CTRL+C copies |
@onionhammer When that comment was authored, the Terminal had a bug where whatever keybinding you had for copy would always try to copy, even if there wasn't a selection. Now that that bug is fixed, we can think about maybe adding Ctrl+C as a default copy keybinding again. |
@zadjii-msft afaict it works perfectly if I just add the key-binding in manually |
already solve my problem but is there a strict format for the definition of such command? cuz when I type a command for copying, error always happens. Although my format looks like other comand |
Environment
Steps to reproduce
Copy any text using keyboard shortcut
ctrl + C
and try to paste it usingctrl + V
shortcut.Expected behavior
This should paste the copied text in the command line.
Actual behavior
After typing
Ctrl + V
only^v
is showing.The text was updated successfully, but these errors were encountered: