Nvy
Nvy copied to clipboard
Fix: window doesn't resize after `set lines`, `set columns`
Detect a grid change and resize the (win32) window. Neovim might not send a flush so manually force a full grid redraw.
To repro:
- start nvy with
--geometry 100x20 - use
set linesto verify line count is 20 - use
set lines=30to increase nvy window height - observe that GUI window doesn't resize, but the nvim window does, so the status bar & cmd area are invisible
Sorry for the slow response and thanks for the repro, I am not sure why neovim is not sending a flush but in any case I don't see any harm in a few extra manual flushes to make sure things like this work. Merging 👍