mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.1.1595: MS-Windows with VIMDLL: colors wrong in console
Problem: MS-Windows with VIMDLL: colors wrong in console. Solution: Do not set the GUI colors when not using the GUI. (Ken Takata, closes #4588)
This commit is contained in:
parent
2eed9bafa0
commit
88c47aa692
@ -9554,6 +9554,10 @@ set_hl_attr(
|
||||
at_en.ae_u.cterm.bg_color = sgp->sg_cterm_bg;
|
||||
# ifdef FEAT_TERMGUICOLORS
|
||||
# ifdef MSWIN
|
||||
# ifdef VIMDLL
|
||||
// Only when not using the GUI.
|
||||
if (!gui.in_use && !gui.starting)
|
||||
# endif
|
||||
{
|
||||
int id;
|
||||
guicolor_T fg, bg;
|
||||
|
@ -777,6 +777,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1595,
|
||||
/**/
|
||||
1594,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user