mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 7.4.1942
Problem: Background is not drawn properly when 'termguicolors' is set. Solution: Check cterm_normal_bg_color. (Jacob Niehus, closes #805)
This commit is contained in:
parent
a02a551e18
commit
d18f672fc9
@ -8967,9 +8967,12 @@ can_clear(char_u *p)
|
|||||||
|| gui.in_use
|
|| gui.in_use
|
||||||
#endif
|
#endif
|
||||||
#ifdef FEAT_TERMGUICOLORS
|
#ifdef FEAT_TERMGUICOLORS
|
||||||
|| (p_tgc && cterm_normal_bg_gui_color != (long_u)INVALCOLOR)
|
|| (p_tgc && cterm_normal_bg_gui_color == (long_u)INVALCOLOR)
|
||||||
|
|| (!p_tgc && cterm_normal_bg_color == 0)
|
||||||
|
#else
|
||||||
|
|| cterm_normal_bg_color == 0
|
||||||
#endif
|
#endif
|
||||||
|| cterm_normal_bg_color == 0 || *T_UT != NUL));
|
|| *T_UT != NUL));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -753,6 +753,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 */
|
||||||
|
/**/
|
||||||
|
1942,
|
||||||
/**/
|
/**/
|
||||||
1941,
|
1941,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user