commit | c14bfc31d907cbee6a3636f780561ad1787cdb9b | [log] [tgz] |
---|---|---|
author | zeertzjq <zeertzjq@outlook.com> | Tue Sep 20 13:17:57 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Sep 20 13:17:57 2022 +0100 |
tree | 4fdf0e832dd4def2a38a061a4954ea8609a3a992 | |
parent | bdedd2bcce3a59028c7504a397ff77d901b1b12a [diff] [blame] |
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)
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 3076d53..8cdf601 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c
@@ -8431,7 +8431,7 @@ status_redraw_all(); else status_redraw_curbuf(); - if (State & MODE_CMDLINE) + if (msg_scrolled) return; // redraw later RedrawingDisabled = 0;