diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-04-21 21:10:14 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-04-21 21:10:14 +0200 |
commit | 8a633e3427b47286869aa4b96f2bfc1fe65b25cd (patch) | |
tree | eec90d2e5fdc9a9da532a024ca59993e000813f6 /src/term.h | |
parent | 6d4431e7b675ba7a0194c0b8eb84b7d92e4e7953 (diff) | |
download | vim-git-8a633e3427b47286869aa4b96f2bfc1fe65b25cd.tar.gz |
patch 7.4.1770v7.4.1770
Problem: Cannot use true color in the terminal.
Solution: Add the 'guicolors' option. (Nikolai Pavlov)
Diffstat (limited to 'src/term.h')
-rw-r--r-- | src/term.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/term.h b/src/term.h index 4e284869b..4a7391c01 100644 --- a/src/term.h +++ b/src/term.h @@ -87,10 +87,12 @@ enum SpecialKey KS_CSV, /* scroll region vertical */ #endif KS_OP, /* original color pair */ - KS_U7 /* request cursor position */ + KS_U7, /* request cursor position */ + KS_8F, /* set foreground color (RGB) */ + KS_8B /* set background color (RGB) */ }; -#define KS_LAST KS_U7 +#define KS_LAST KS_8B /* * the terminal capabilities are stored in this array @@ -166,6 +168,8 @@ extern char_u *(term_strings[]); /* current terminal strings */ #define T_RBG (term_str(KS_RBG)) /* request background RGB */ #define T_OP (term_str(KS_OP)) /* original color pair */ #define T_U7 (term_str(KS_U7)) /* request cursor position */ +#define T_8F (term_str(KS_8F)) /* set foreground color (RGB) */ +#define T_8B (term_str(KS_8B)) /* set background color (RGB) */ #define TMODE_COOK 0 /* terminal mode for external cmds and Ex mode */ #define TMODE_SLEEP 1 /* terminal mode for sleeping (cooked but no echo) */ |