-
Notifications
You must be signed in to change notification settings - Fork 135
Pasting not working in Windows Terminal #310
Comments
So, this is most likely a problem in github.com/gdamore/tcell Either way, I don't have windows and therefore won't look into this. Sry ~ |
Thats ok! 👍 |
I had this issue as well, which forced to use WSL 2 with go get installation as an alternative. |
Btw, the problem is probably this: gdamore/tcell#319 (comment) I totally forgot about it :D |
Seems like it'll be fixed with the next version of tcell 👍 |
i cant get anything to work in the windows terminal not even the colours work and after selecting change chortcut and exiting the menu nothing responds to anything. |
Welcome to the old windows terminal, it's trash. Just get the new one. |
i was refering to the new one |
That'S a surprise then. I had quite a good experience with it. Can you make a new issue with an exact description of the problems? |
Alright i just read the replay ill have another look later on and try to fix it |
tcell now supports bracketed paste, if that works on windows, it might solve the issue |
How have you installed cordless
What happened
So when I use cordless though powershell (or cmd) though windows terminal I get a weird pasting error where some of the charaters are lost. for example if I am pasting the link
https://spectacular-diagnostics.bandcamp.com/album/thebeautifulmusic
I might get
https://specalbum/thebe
Or if I hold down paste I get a run such as
https://spectbum/thebeauhttps://spect/album/thebeahttps://specthebeautifulmushttps: //spect/album/thebeauhttps://spectaclbum/thebeautifuhttps://spectacthebeautifulmusichttps://spectaculardtifulmusichttps://spectaculaum/thebeautifulmusic which should just be pasting the once.
This doesn't happen if I run it directly though powershell or cmd.
Also doesn't happen when just pasting into powershell though windows terminal
How do you reproduce this bug
Open windows Terminal
Copy "this is some random text to paste into cordless though windows terminal"
Paste into Windows Terminal
"this is some random text to paste into cordless though windows terminal"
You should see the same text
Run
cordless
paste into message window
You should see something like
"this is soms though win
also
hold down paste for 5 seconds.
and you should get something like
"this is som"this is soms"this is soms"this is son "this is soms "this is sos though win"this is so win"this is sough win "this is soms thoug"this is soms "this is soms though"this is so"this is soms thoughw"this is soms thoug"this isi"this is"this is "this is"this is "this ih"this is"this i"this ig"this in"thist"thi"this is"this iw"this i"this g"this i"this "this "this i"this i"this i"this i"this "this "this "this "thi"this"this
Hints on what could've happened
I think its to do with key reconition.
It feels like paste is being sent many times from just a single button press and they are clashing with one another
but that is just a thory
System information
| Key | Value |
| | - |
| OS | Windows 10 v2004 |
| Architecture | Intel i5-8250U 64bit|
The text was updated successfully, but these errors were encountered: