-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Pasting in reverse with right-click #3816
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
Comments
I didn't get this to repro with beta1, but does repro with Windows PowerShell 5.1. At this time we're only taking critical security fixes for 5.1. |
This is PowerShell/PSReadLine#496 |
Was this ever actually fixed? I am on PowerShell 7.0.0 and still see this issue. In my scenario, I have some PowerShell scripts documented in Confluence as part of developer on-boarding. Confluence saves all documentation with LF and so when I paste a script from Confluence into PowerShell, it reverses the whole script. In addition, I tried running PS D:\Users\John.Zabroski> update-module PSReadLine
Update-Module: Module 'PSReadLine' was not installed by using Install-Module, so it cannot be updated. |
I see that the official issue now is PowerShell/PSReadLine#579 and it is not fixed. |
Steps to reproduce
Copy text with LF line endings and paste into console with right-click
Expected behavior
Text is pasted in its original order
Actual behavior
Text is pasted in reverse
Environment data
Windows 10 Enterprise 10.0.15063
I have been able to reproduce this on every machine I've tried on and it appears to exist in PowerShell v6.0.0-alpha.17 Release as well. This doesn't seem to happen with a ctrl+v paste.
The text was updated successfully, but these errors were encountered: