mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
fix(messages): reset msg_grid_scroll_discount when redrawing (#21000)
This commit is contained in:
@@ -130,7 +130,6 @@ static bool msg_ext_history_visible = false;
|
||||
static bool msg_ext_keep_after_cmdline = false;
|
||||
|
||||
static int msg_grid_pos_at_flush = 0;
|
||||
static int msg_grid_scroll_discount = 0;
|
||||
|
||||
static void ui_ext_msg_set_pos(int row, bool scrolled)
|
||||
{
|
||||
@@ -2445,6 +2444,7 @@ void msg_reset_scroll(void)
|
||||
}
|
||||
msg_scrolled = 0;
|
||||
msg_scrolled_at_flush = 0;
|
||||
msg_grid_scroll_discount = 0;
|
||||
}
|
||||
|
||||
/// Increment "msg_scrolled".
|
||||
|
Reference in New Issue
Block a user