-
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
3-line commands that scrolled the window in powershell visually duplicate if partially deleted #13071
Comments
I don't know what the problem is here, but I did briefly look into it, and I just wanted to note some of the things I discovered.
It's also worth noting that point 1 is possibly the same bug we're seeing in #10905. |
Oh, that does sound familiar, yea. @omgitsraven I wonder if an updated PsReadline might just fix this for you/? |
Updating PSReadLine to 2.2.5 has fixed it!! Thank you :) Does that mean I should close this issue then, if that fix will work its way to everyone eventually? |
Yea, we can close this out as /dup PowerShell/PSReadLine#724 |
Hi! We've identified this issue as a duplicate of one that exists on somebody else's Issue Tracker. Please make sure you subscribe to the referenced external issue for future updates. Thanks for your report! |
Windows Terminal version
1.12.10982.0
Windows build number
10.0.19044.0
Other Software
No response
Steps to reproduce
q
key.)Expected Behavior
You should see a two-line-long command after your prompt.
Actual Behavior
Once you delete enough characters to fit exactly on two lines, the window scrolls up for some reason... And then, once you delete one character MORE than that, the first two lines visually mash up to create a command that appears to still be three lines long! (The command actually still runs normally, it's just very confusing to edit...)
Here is an example, where I filled the first line with
a
s, the second line withb
s, and the third line withc
s, and then deleted the third line and some of the second:Before deleting anything:
After pressing backspace several times:
Also, note that this happens in Powershell running inside Windows Terminal, but NOT when attempted in the standalone Powershell prompt.
The text was updated successfully, but these errors were encountered: