mirror of
https://github.com/neovim/neovim.git
synced 2025-09-23 11:38:31 +00:00
api/ui: win_viewport event for visible range and cursor position in window
This commit is contained in:
@@ -4121,6 +4121,7 @@ void scroll_redraw(int up, long count)
|
||||
}
|
||||
if (curwin->w_cursor.lnum != prev_lnum)
|
||||
coladvance(curwin->w_curswant);
|
||||
curwin->w_viewport_invalid = true;
|
||||
redraw_later(VALID);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user