-
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
Cursor position is lost when resizing the window horizontally #10868
Comments
perhaps this is related to the earlier bug I filed #10848 ? |
This probably is closely related, maybe even the same root cause, but I like having lots of test cases, and these are great repro steps. Thanks! |
I'm trying to reproduce this bug to test if #15701 fixed it but couldn't do manage to reproduce it. Does this bug still happen in 1.17/1.18? |
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. |
1 similar comment
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. |
Windows Terminal version (or Windows build number)
10.0.19042.1110 (windows terminal 1.9.1942.0)
Other Software
No response
Steps to reproduce
When the windows is horizontally resized the cursor position is lost; on the narrowing the cursor wraps to the next line, but on widening again the cursor goes incorrectly to the start of the previous line.
(Extra heisenbug: if you quickly resize narrow again the cursor will go randomly in the text :-)
To reproduce run the following batch file:
Expected Behavior
On the old cmd terminal the batch file works as intended.
Actual Behavior
Here is what happens in Windows terminal (I colored the cursor in red):
The text was updated successfully, but these errors were encountered: