-
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
Unexplained crash while copying with the terminal #2000
Comments
There were a couple bugfixes in this area recently. What build of Windows Terminal are you running? What steps are you taking to get the terminal to crash while selecting? @carlos-zamora may be interested. |
I also have the same issue unable to copy from cmd nor paste to it, but instead of crashing, it outputs: |
@QuantumZain I believe that's done intentionally see: Lines 112 to 129 in 9b92986
A simple check if IsSelectionActive() would fix this, but in most cases you would prefer NOT to break interrupting (since Ctrl+C is effectively sending a SIGINT). Try rebinding to Ctrl+Shift+C/Ctrl+Shift+V instead. |
Copy/paste works in the version currently on the Windows Store (as of 2019-07-21; 0.2.1831.0), you just don't use CTRL+C/V. Highlight the text you want to copy, then right click; it will automatically copy. Then right-click again to paste in the Terminal or CTRL+V in your other application of choice. I assume this was done intentionally as PuTTY and various other Linux terminals use the same mechanic. |
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. |
I'm experiencing this issue as well, running |
n/m, 1831 is the latest build. |
specific action I'm trying to do is copy from system clipboard into vim that's open in WSL2 Ubuntu. |
You can do that with right click. Is it crashing? Do you have any events about "Windows Error Reporting" in your event log? If so, please share: they contain vital information that we can use to find your crash. |
Would CTRL+Shift+C and CTRL+Shift+V be good candidates to be added to perform Copy and Paste please? |
They already are the keybindings, as of #1093. I'd really like to see a stack or some info to help us track down the source of the crash reported in OP. Without more info,there's nothing more we can really do with this issue. |
Thanks for your reply. I'm on the latest release but the CTRL+Shift+C and CTRL+Shift+V don't work for me at all to do copy/paste. Having said that, I tried copy/paste via mouse clicks a lot and never encountered any issues. |
The only part here we're actively still looking for is information on the crash that @zyyBjtu experienced. The issues with the keybindings are getting resolved in other PRs and in the upcoming 0.3 release. We want to know more about this crash. |
Just to know, currently, is there any keybinding to copy and paste using the terminal? Will it be possible to change the keybindings to copy and paste text in the profiles.json? |
However I also observed that selection is copy, and right click is paste. I believe here having the native windows right click context menu would be nice. |
@pedrodaniel10 Ctrl+Chift+C / Ctrl+Chift+V works for me |
Yes, that got into v0.3 |
I would like to see customizable key commands for copy and paste. |
@devstu you must mean the new customizable key bindings for copy and paste that went into v0.3? |
I am sorry I found it now, it wasn't in the default keybindinds, but I added one for copy and paste and it worked. Thank you, sorry. |
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. |
I am still experiencing this crash. When I right-click to copy text from a Powershell instance in Windows Terminal, I get the loading ring cursor for a few seconds, the window closes, and nothing is copied to my clipboard. Where should I look to get the relevant logs for debugging this issue? |
This is the Event Viewer data for the crash:
|
And this is the associated |
My terminal crashes upon pasting a string. I have an Even 1000 from Application Error:
and an Event 1026 from .NET Runtime:
|
@tolache This is a 3 year old stale issue about an unexplained crash while copying text. You should probably file a new issue, so we can triage your issue to its own root cause. |
#14412, for anyone else who finds this. |
You can't copy and paste with windows terminal. Normally you can paste and copy with the right mouse button, but at some point it will cause terminal to crash.
The text was updated successfully, but these errors were encountered: