0
0
mirror of https://github.com/vim/vim.git synced 2025-10-02 05:04:20 -04:00

patch 9.0.0512: cannot redraw the status lines when editing a command

Problem:    Cannot redraw the status lines when editing a command.
Solution:   Only postpone the redraw when messages have scrolled.
            (closes #11170)
This commit is contained in:
zeertzjq
2022-09-20 13:17:57 +01:00
committed by Bram Moolenaar
parent bdedd2bcce
commit c14bfc31d9
5 changed files with 19 additions and 4 deletions

View File

@@ -8431,7 +8431,7 @@ ex_redrawstatus(exarg_T *eap UNUSED)
status_redraw_all();
else
status_redraw_curbuf();
if (State & MODE_CMDLINE)
if (msg_scrolled)
return; // redraw later
RedrawingDisabled = 0;