-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Paste limited to 50 chars when run in Docker container on Windows #38
Comments
In the PSReadline issue @jstarks commented:
My main goal in opening the issue here it so I can follow any progress in fixing the problem, and in particular if there is any estimated timeline for a fix being released. |
This is technically an issue with Docker on Windows, but yes, we're working on a solution. |
It's just amazing that something as trivial as this is simply not working. Welcome old fashioned DOS! |
@zadjii-msft Cannot wait for this to be fixed... it is so annoying... Any workaround in the interim? |
See PowerShell/PSReadLine#460 (comment) for a workaround. |
@dhirschfeld Saved my life! Thanks a lot! |
@dhirschfeld This allows me to paste fine but now you cannot go back a character or word it just deletes everything if you want to edit whatever you typed or pasted. Any workaround for that? |
I'll defer back to @jstarks who is more familiar with Windows containers and might be able to share more information on the subject. |
No updates on this huh? Still seems to be an issue. |
Actually @jstarks might be able to comment on this. There should be a fix going in to CExecSvc (which powers docker server on windows) to fix this, but I'm not really sure about their release schedule. |
Will that fix make it to |
I'd presume it's only for 1809. I don't think the Docker team was able to use our work for #57 in 1803. |
Is there any of this working on 1607 ? |
@malcolm-boden Nope, conpty support was only added in 1809 (October 2018 release), so you'll have to upgrade to a newer version to get the fix. |
Still in 1809 👎 |
2021, latest version of docker and CANNOT PASTE A SINGLE FULL COMMAND INTO DOCKER. Where did this 50 character limit come from? It makes no sense. |
We’ve pretty well proven that the issue isn’t in this repository or in the console or the terminal, so somebody is going to have to report the issue wherever it truly belongs. |
When pasting text into powershell in a Windows container the text is truncated at 50 characters which makes for a very frustrating and unproductive user experience.
This effect is most notable in powershell becaue of an unfortuante interaction with PSReadline however unusual/undersirable behaviour is also observed in a plain
cmd
terminal leading to (IIUC) the conclusion that the underlying problem is with the console itself.This issue has been previously opened in 3 separate repositories:
...however I'm opening it here as all those issues have been closed under the assumption that the problem lies with the console itself
The text was updated successfully, but these errors were encountered: