Open sholderbach opened 3 years ago
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
Status after #217: Vertical resizing doesn't seem to eat lines as readily now. Changing the vertical size with the prompt at the bottom still causes #157 Horizontal resizing is now liberally eating previous output
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)