mirror of
https://github.com/vim/vim.git
synced 2025-08-22 19:27:53 -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:
parent
177847e67a
commit
5017c66bd4
@ -8290,6 +8290,9 @@ ex_redraw(exarg_T *eap)
|
|||||||
RedrawingDisabled = r;
|
RedrawingDisabled = r;
|
||||||
p_lz = p;
|
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.
|
// Reset msg_didout, so that a message that's there is overwritten.
|
||||||
msg_didout = FALSE;
|
msg_didout = FALSE;
|
||||||
msg_col = 0;
|
msg_col = 0;
|
||||||
|
@ -746,6 +746,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
4709,
|
||||||
/**/
|
/**/
|
||||||
4708,
|
4708,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user