diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-02-13 06:30:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-13 06:30:35 +0800 |
commit | 984f7a9fd3d4ad4c6b51fa5c54c3550756056723 (patch) | |
tree | 222b8b0d6a5bd074394abe2b0d108aa46d61a9e6 /src/nvim/ex_getln.c | |
parent | 84b6ade41510ffad7d712abe2b010e4027b7033c (diff) | |
download | rneovim-984f7a9fd3d4ad4c6b51fa5c54c3550756056723.tar.gz rneovim-984f7a9fd3d4ad4c6b51fa5c54c3550756056723.tar.bz2 rneovim-984f7a9fd3d4ad4c6b51fa5c54c3550756056723.zip |
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)
https://github.com/vim/vim/commit/471c0fa3eed4f6207d1cb7636970547bfd2eee26
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index 307fd480cc..8af5730ffe 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -902,9 +902,7 @@ static uint8_t *command_line_enter(int firstc, int count, int indent, bool clear // not get printed in the middle of it. msg_check(); if (p_ch == 0 && !ui_has(kUIMessages)) { - if (must_redraw < UPD_VALID) { - must_redraw = UPD_VALID; - } + set_must_redraw(UPD_VALID); } msg_scroll = s->save_msg_scroll; redir_off = false; |