diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-10-14 23:24:25 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-10-14 23:24:25 +0200 |
commit | 65e4c4f6868882a380c319632a1728a5e7d274ad (patch) | |
tree | ea3e0680ca7752b219dec52ee3e10bc4eb2d0c3d /src/term.h | |
parent | b2c8750c4e95f64a8dff912af81e13318b3f6ed6 (diff) | |
download | vim-git-65e4c4f6868882a380c319632a1728a5e7d274ad.tar.gz |
patch 8.0.1194: actual fg and bg colors of terminal are unknownv8.0.1194
Problem: Actual fg and bg colors of terminal are unknown.
Solution: Add t_RF. Store response to t_RB and t_RF, use for terminal.
Diffstat (limited to 'src/term.h')
-rw-r--r-- | src/term.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/term.h b/src/term.h index cc02aaaf3..8808f7db1 100644 --- a/src/term.h +++ b/src/term.h @@ -88,6 +88,7 @@ enum SpecialKey KS_CGP, /* get window position */ KS_CWS, /* set window size in characters */ KS_CRV, /* request version string */ + KS_RFG, /* request foreground color */ KS_RBG, /* request background color */ KS_CSI, /* start insert mode (bar cursor) */ KS_CEI, /* end insert mode (block cursor) */ @@ -185,6 +186,7 @@ extern char_u *(term_strings[]); /* current terminal strings */ #define T_CEI (TERM_STR(KS_CEI)) /* end insert mode */ #define T_CSR (TERM_STR(KS_CSR)) /* start replace mode */ #define T_CRV (TERM_STR(KS_CRV)) /* request version string */ +#define T_RFG (TERM_STR(KS_RFG)) /* request foreground RGB */ #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 */ |