diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-04-07 18:06:08 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-04-07 18:06:08 +0100 |
commit | 5017c66bd461eab46094e076ad1aa818e246ce9d (patch) | |
tree | 9ec7b83602f9cb4a515dff0b36cca698125ba9b5 /src/ex_docmd.c | |
parent | 177847e67a495f80a15b6dfd0a3fcd151b44249e (diff) | |
download | vim-git-5017c66bd461eab46094e076ad1aa818e246ce9d.tar.gz |
patch 8.2.4709: after :redraw the statusline highlight might be usedv8.2.4709
Problem: After :redraw the statusline highlight might be used.
Solution: Clear the screen attribute after redrawing the screen.
(closes #10108)
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 90ca7ade2..0b8825959 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -8290,6 +8290,9 @@ ex_redraw(exarg_T *eap) RedrawingDisabled = r; p_lz = p; + // After drawing the statusline screen_attr may still be set. + screen_stop_highlight(); + // Reset msg_didout, so that a message that's there is overwritten. msg_didout = FALSE; msg_col = 0; |