-
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
Scrambled prompt/input area #10130
Comments
That sure does look pretty bad, but without more consistent repro steps, I'm not sure what we can investigate here. Did you resize the Terminal in between those prompts? If so, then this might be a variation on #6546. |
Thanks - I don't think I resized it to cause the issue, however I just resized the window and it caused some glitches, then crashed the terminal completely. #6546 does sound similar - hard to know exactly. These are the app errors from the eventlog:
|
Update: I've been able to replicate the issue (some of the time). It seems to be a combination of
When issues happen, the terminal either gets corrupted, crashes, or "Process exited with error code 5" |
@LuanVSO is this the same behavior that you are seeing? I'll see if i can get a screen recording of it (now it's being elusive 🙃 ) |
@zadjii-msft @LuanVSO |
Interesting. This repros even in conhost - well, at least to some extent.
Though, that alone won't get the prompt detached from the cursor. Though the text is scrambled, it does seem like the cursor stays in the right place for both increasing and decreasing width, with the prompt at the bottom and with the prompt in the middle. Okay but I did hit one bug
and I can't get the same thing to happen in conhost (though, fundamental UX differences between the two do make reproing this on conhost harder.) |
Interesting. The conpty and the terminal are very different in this scenario: (that's without MORE INTERESTING. #5368 makes this both better and worse: Now the buffer contents in the pty are more what I'd expect, but the prompt is more lost than it was before. It's actually sorta correct - the prompt got restored to where it was before the resize, which is now floating in space |
This comment has been minimized.
This comment has been minimized.
@campbellkerr I think what you're seeing is #11214 |
@SpitFire-666 We've got a working theory that at least the crash here was fixed by #13212 in the latest 1.14 stable / 1.15 preview release. I don't know about the rest of the artifacts, but the crashing seems to have the same signature. |
Windows Terminal version (or Windows build number)
1.7.1033.0
Other Software
No response
Steps to reproduce
(Don't know how to reproduce, could be random)
Expected Behavior
Prompt works normally
Actual Behavior
Prompt/text is scrambled or in the wrong area/position. Top arrow shows where the actual cursor is (still responsive - commands run). Other arrows show the prompt/previous commands that are randomly shown on the screen:
The text was updated successfully, but these errors were encountered: