mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 7.4.1770
Problem: Cannot use true color in the terminal. Solution: Add the 'guicolors' option. (Nikolai Pavlov)
This commit is contained in:
@@ -84,7 +84,9 @@ typedef struct file_buffer buf_T; /* forward declaration */
|
||||
# ifdef FEAT_XCLIPBOARD
|
||||
# include <X11/Intrinsic.h>
|
||||
# endif
|
||||
# define guicolor_T int /* avoid error in prototypes */
|
||||
# define guicolor_T long_u /* avoid error in prototypes and
|
||||
* make FEAT_TERMTRUECOLOR work */
|
||||
# define INVALCOLOR ((guicolor_T)0x1ffffff)
|
||||
#endif
|
||||
|
||||
/*
|
||||
@@ -911,6 +913,10 @@ typedef struct attr_entry
|
||||
/* These colors need to be > 8 bits to hold 256. */
|
||||
short_u fg_color; /* foreground color number */
|
||||
short_u bg_color; /* background color number */
|
||||
# ifdef FEAT_TERMTRUECOLOR
|
||||
long_u fg_rgb; /* foreground color RGB */
|
||||
long_u bg_rgb; /* background color RGB */
|
||||
# endif
|
||||
} cterm;
|
||||
# ifdef FEAT_GUI
|
||||
struct
|
||||
|
Reference in New Issue
Block a user