-
Notifications
You must be signed in to change notification settings - Fork 154
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
[BUG] Resizing window overwrites previous output #42
Comments
Only fixes effect of overpainting after vertical resize (Issue nushell#42). Horizontal resizes wrap the text with the cursor into overpaint situations. + remove superfluous `enable_raw_mode`
First naive approach at resetting the cursor location seems to only work for vertical resizing when performed slowly. Large resizing (both manually and by maximizing) still breaks. Edit: corrected direction to vertical |
I just added support for some resize support for the current prompt+input. While we don't have control over what's already on the screen, we can at least cleanup the current input the user is working on. |
Horizontal resizing (left/right) now seems to mostly work. Vertical resizing (up/down) still eats lines. Will try to take a deeper look |
Resizing the window now leads to unexpected behavior (observed if screen filled to the bottom, as well as if it is partially filled)
before resize (80x24)
after resize (80x30)
The text was updated successfully, but these errors were encountered: