-
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
Rows should remember their width (MeasureRight()) #17844
Comments
I want to work on this issue |
Thanks for filing! We recently rewrote ConPty. Mind checking v1.22 (Preview) to see if it got fixed /? Also, thanks @ayush1233! |
Thank you for the update. I've tested version However, I've noticed that the line wrapping still seems to be incorrect. That is, the spaces at the end of lines seem to be ignored after adjusting the window width. (Maybe I should open another issue?) |
That's a known issue that we're hoping to address at some point. I'm not entirely sure if we have an issue to track it though. We could repurpose this one for it. The reason that happens is because our text buffer does not keep track of how much text you wrote on any given line. To it, there's no difference between whitespace and no text at all, and so it gets truncated during resize. |
MeasureRight()
)
MeasureRight()
)
Windows Terminal version
1.21.2361.0
Windows build number
10.0.22631.0
Other Software
zh_cn
Hack Nerd Font Mono
Steps to reproduce
Expected Behavior
Cursor should be after
--
ofinput('--')
throughout the processActual Behavior
After resize, cursor is before
a
ofprint('yya')
The text was updated successfully, but these errors were encountered: