diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-09-20 13:17:57 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-20 13:17:57 +0100 |
commit | c14bfc31d907cbee6a3636f780561ad1787cdb9b (patch) | |
tree | 4fdf0e832dd4def2a38a061a4954ea8609a3a992 /src/ex_docmd.c | |
parent | bdedd2bcce3a59028c7504a397ff77d901b1b12a (diff) |
patch 9.0.0512: cannot redraw the status lines when editing a commandv9.0.0512
Problem: Cannot redraw the status lines when editing a command.
Solution: Only postpone the redraw when messages have scrolled.
(closes #11170)
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 3076d5344b..8cdf601f86 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -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; |