mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 19:36:40 +00:00
multigrid: don't clear window grids on resize
Instead define that the shared top-left part of the grid is preserved.
This commit is contained in:
@@ -529,7 +529,7 @@ int cursor_valid(void)
|
||||
*/
|
||||
void validate_cursor(void)
|
||||
{
|
||||
win_grid_alloc(curwin, true); // we need to have w_grid.Rows/Columns updated
|
||||
win_grid_alloc(curwin, false); // we need to have w_grid.Rows/Columns updated
|
||||
check_cursor_moved(curwin);
|
||||
if ((curwin->w_valid & (VALID_WCOL|VALID_WROW)) != (VALID_WCOL|VALID_WROW))
|
||||
curs_columns(true);
|
||||
|
Reference in New Issue
Block a user