-
-
Notifications
You must be signed in to change notification settings - Fork 584
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
Right-click paste drops characters in WSL #1545
Comments
same issue here |
@speedofsound99 yep, seems so |
It is definitely related to 1803, I'm experiencing this as well, immediately after the update. It's also 100% related to spaces. I can paste thousands of characters just fine as long as there's no space - but pasting Further information:
It only happens when running WSL directly through ConEmu. |
I've said many many times. Don't run bash.exe or wsl.exe directly. |
I don't believe in that. What terminals? Conhost? It is not a "terminal" at all. It is Windows Kernel. Of course it has privileges. |
Well, up until 1803 there was no problem with it. All I/O worked just fine. The default By clicking through the docs a bit I've now figured out that we can actually use ZSH through the bridge as well, by use of the You may want to update the FAQ for Bash on Windows by mentioning that one can control which shell is loaded through that flag, because it's not exactly clear. You have to go into the connector docs to find that out. That should help with the repeated queries about this. |
Looks like the next version of |
It is not true. As mentioned in gh-1314 there were problem with IO, there were dropped or even defective characters on paste. The issue was repored on bare wsl/bash without connector too. And it was closed coz the only workaround is using connector. |
Be that as it may, for the past 6-7 months or so (that's when I switched back to Windows from my Mac) I've been using ConEmu with it set up to launch Perhaps something changed shortly after the mentioned issue's date and I stepped in at just the right time? I don't know what else would explain it. At any rate, you're right, the default task does let me paste as normal now, so for the time being I'll run it with But that's food for another day (and GH PR/issue) when 0.2.5 is out :P And just for reference for everyone else: this is how I'm starting my shell now, which is with zsh rather than bash:
It's ever so slightly modified from the default, barely any difference. |
Anyway, I found what was changed in Win10 and fix is coming. |
@Maximus5 Thanks a lot for the fast fix - works great! |
Although I perfectly understand the annoyance, with all respect, is there any way to use the bridge and run [multiple distros]( instead of the default automatically selected For example, I like to have multiple tasks defined one per each distro: Ubuntu, Ubuntu 18.04, Debian, Kali. |
@mloskot Why do you ask in this issue? It's about paste only. |
@Maximus5 Because I'm 'suffering' of the same broken paste issue and I can not switch to the WSL bridge due to the reasons I explained (or I don't know how to get both, working paste and multi-distro working). Plus, there is this inevitable process of discovering due to the nature of the problem that does not guarantee I will find all the relevant GH issues and in the right sequence. |
Versions
ConEmu build: 180429 [32]
OS version: Windows 10 x64 version 1803 build 17134.1
Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): WSL bash.exe or debian.exe
Problem description
Behavior is quite similar to the one described in #1314
If you paste a text containing spaces it seems that characters are randomly dropped, texts not containing any space character work fine as far as I can see.
Working example
aaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbcccccccccccccccccccc
Misbehaving example
aaaaaaaaaaaaaaaaabbbbbbbbbbbbb bbbbbbbbbbbbcccccccccccccccccccc
Steps to reproduce
debian.exe -cur_console:p
orbash.exe -cur_console:p
Actual results
Characters of the pasted text get dropped in the shell.
Pasting
aaaaaaaaaaaaaaaaabbbbbbbbbbbbb bbbbbbbbbbbbcccccccccccccccccccc
will put the following into the shell:aaaaaaaaaaaaaaaabbbbbbbbbbbcccccccccccccccccccc
Expected results
The text in the clipboard should be pasted without randomly dropping characters.
The text was updated successfully, but these errors were encountered: