mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
vim-patch:9.0.0245: mechanism to prevent recursive screen updating is incomplete (#27448)
Problem: Mechanism to prevent recursive screen updating is incomplete.
Solution: Add "redraw_not_allowed" and set it in build_stl_str_hl().
(issue vim/vim#10952)
471c0fa3ee
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -2419,9 +2419,7 @@ static void inc_msg_scrolled(void)
|
||||
xfree(tofree);
|
||||
}
|
||||
msg_scrolled++;
|
||||
if (must_redraw < UPD_VALID) {
|
||||
must_redraw = UPD_VALID;
|
||||
}
|
||||
set_must_redraw(UPD_VALID);
|
||||
}
|
||||
|
||||
static msgchunk_T *last_msgchunk = NULL; // last displayed text
|
||||
@@ -3067,9 +3065,7 @@ void msg_ext_clear_later(void)
|
||||
{
|
||||
if (msg_ext_is_visible()) {
|
||||
msg_ext_need_clear = true;
|
||||
if (must_redraw < UPD_VALID) {
|
||||
must_redraw = UPD_VALID;
|
||||
}
|
||||
set_must_redraw(UPD_VALID);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user