0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.2.4709: after :redraw the statusline highlight might be used

Problem:    After :redraw the statusline highlight might be used.
Solution:   Clear the screen attribute after redrawing the screen.
            (closes #10108)
This commit is contained in:
Bram Moolenaar 2022-04-07 18:06:08 +01:00
parent 177847e67a
commit 5017c66bd4
2 changed files with 5 additions and 0 deletions

View File

@ -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;

View File

@ -746,6 +746,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4709,
/**/
4708,
/**/