diff options
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 8cdf601f86..a786ff0cc6 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -8431,12 +8431,15 @@ ex_redrawstatus(exarg_T *eap UNUSED) status_redraw_all(); else status_redraw_curbuf(); - if (msg_scrolled) + if (msg_scrolled && (State & MODE_CMDLINE)) return; // redraw later RedrawingDisabled = 0; p_lz = FALSE; - update_screen(VIsual_active ? UPD_INVERTED : 0); + if (State & MODE_CMDLINE) + redraw_statuslines(); + else + update_screen(VIsual_active ? UPD_INVERTED : 0); RedrawingDisabled = r; p_lz = p; out_flush(); |