mirror of
https://github.com/vim/vim.git
synced 2025-10-07 05:54:16 -04:00
patch 8.1.0123: MS-Windows: colors are wrong after setting 'notgc'
Problem: MS-Windows: colors are wrong after setting 'notgc'. Solution: Only call control_console_color_rgb() for the win32 terminal. (Nobuhiro Takasaki, closes #3107)
This commit is contained in:
@@ -8819,10 +8819,13 @@ set_bool_option(
|
|||||||
# endif
|
# endif
|
||||||
highlight_gui_started();
|
highlight_gui_started();
|
||||||
# ifdef FEAT_VTP
|
# ifdef FEAT_VTP
|
||||||
control_console_color_rgb();
|
|
||||||
/* reset t_Co */
|
/* reset t_Co */
|
||||||
if (is_term_win32())
|
if (is_term_win32())
|
||||||
|
{
|
||||||
|
control_console_color_rgb();
|
||||||
set_termname(T_NAME);
|
set_termname(T_NAME);
|
||||||
|
init_highlight(TRUE, FALSE);
|
||||||
|
}
|
||||||
# endif
|
# endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@@ -789,6 +789,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 */
|
||||||
|
/**/
|
||||||
|
123,
|
||||||
/**/
|
/**/
|
||||||
122,
|
122,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user