0
0
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:
Bram Moolenaar 2016-06-17 13:18:49 +02:00
parent a02a551e18
commit d18f672fc9
2 changed files with 7 additions and 2 deletions

View File

@ -8967,9 +8967,12 @@ can_clear(char_u *p)
|| gui.in_use
#endif
#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
|| cterm_normal_bg_color == 0 || *T_UT != NUL));
|| *T_UT != NUL));
}
/*

View File

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