-
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
Pasting string to password prompt fails. #2788
Comments
Like @DHowett-MSFT, I too am unable to reproduce the issue with the exact expected behaviour described in the issue. The pasted string isn't echoed, but it doesn't result in Python waiting for an input nonetheless.
@urtabajev |
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. |
For me following reporoduces issue perfectly: python3 -c "import getpass;your_pwd = getpass.getpass('Enter password: '); print(your_pwd)" When typing in password then execution reaches to print but when pasting string enter after that does not work and I can't select anything from this terminal window also when input is stuck until exectuion is interrupted. |
Python in interactive mode, instead of normal mode will not reproduce issue. |
Seems that Version: 0.5.2681.0 fixes it. |
Yep, I can't reproduce this on 0.6 either. |
I suspect I may have a related issue (Reproducible on 0.6.2951.0): I pasted my password into a Pasting the same into either Windows CMD or Windows PowerShell (5 or 6.2) worked fine. |
Environment
Windows build number: 10.0.18362.0
Windows Terminal version (if applicable): 0.4.2382.0
Steps to reproduce
Expected behavior
Correct string will be pasted to prompt and programs should continue as expected.
Actual behavior
Password prompts will not recieve pasted string correctly.
The text was updated successfully, but these errors were encountered: