vim-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 vim/vim#11170)
c14bfc31d9
This commit is contained in:
zeertzjq
2022-09-20 20:54:07 +08:00
parent 9413f7544b
commit 2e4532bea5
3 changed files with 21 additions and 4 deletions

View File

@@ -6094,7 +6094,7 @@ static void ex_redrawstatus(exarg_T *eap)
} else {
status_redraw_curbuf();
}
if (State & MODE_CMDLINE) {
if (msg_scrolled) {
return; // redraw later
}