Mercurial > vim
comparison src/term.h @ 12632:b1a7e3968a31 v8.0.1194
patch 8.0.1194: actual fg and bg colors of terminal are unknown
commit https://github.com/vim/vim/commit/65e4c4f6868882a380c319632a1728a5e7d274ad
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 14 23:24:25 2017 +0200
patch 8.0.1194: actual fg and bg colors of terminal are unknown
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 14 Oct 2017 23:30:05 +0200 |
parents | 68d7bc045dbe |
children | 3375a8cbb442 |
comparison
equal
deleted
inserted
replaced
12631:3e8f6b06e414 | 12632:b1a7e3968a31 |
---|---|
86 KS_FS, /* set window title end (from status line) */ | 86 KS_FS, /* set window title end (from status line) */ |
87 KS_CWP, /* set window position in pixels */ | 87 KS_CWP, /* set window position in pixels */ |
88 KS_CGP, /* get window position */ | 88 KS_CGP, /* get window position */ |
89 KS_CWS, /* set window size in characters */ | 89 KS_CWS, /* set window size in characters */ |
90 KS_CRV, /* request version string */ | 90 KS_CRV, /* request version string */ |
91 KS_RFG, /* request foreground color */ | |
91 KS_RBG, /* request background color */ | 92 KS_RBG, /* request background color */ |
92 KS_CSI, /* start insert mode (bar cursor) */ | 93 KS_CSI, /* start insert mode (bar cursor) */ |
93 KS_CEI, /* end insert mode (block cursor) */ | 94 KS_CEI, /* end insert mode (block cursor) */ |
94 KS_CSR, /* start replace mode (underline cursor) */ | 95 KS_CSR, /* start replace mode (underline cursor) */ |
95 KS_CSV, /* scroll region vertical */ | 96 KS_CSV, /* scroll region vertical */ |
183 #define T_CWS (TERM_STR(KS_CWS)) /* window size */ | 184 #define T_CWS (TERM_STR(KS_CWS)) /* window size */ |
184 #define T_CSI (TERM_STR(KS_CSI)) /* start insert mode */ | 185 #define T_CSI (TERM_STR(KS_CSI)) /* start insert mode */ |
185 #define T_CEI (TERM_STR(KS_CEI)) /* end insert mode */ | 186 #define T_CEI (TERM_STR(KS_CEI)) /* end insert mode */ |
186 #define T_CSR (TERM_STR(KS_CSR)) /* start replace mode */ | 187 #define T_CSR (TERM_STR(KS_CSR)) /* start replace mode */ |
187 #define T_CRV (TERM_STR(KS_CRV)) /* request version string */ | 188 #define T_CRV (TERM_STR(KS_CRV)) /* request version string */ |
189 #define T_RFG (TERM_STR(KS_RFG)) /* request foreground RGB */ | |
188 #define T_RBG (TERM_STR(KS_RBG)) /* request background RGB */ | 190 #define T_RBG (TERM_STR(KS_RBG)) /* request background RGB */ |
189 #define T_OP (TERM_STR(KS_OP)) /* original color pair */ | 191 #define T_OP (TERM_STR(KS_OP)) /* original color pair */ |
190 #define T_U7 (TERM_STR(KS_U7)) /* request cursor position */ | 192 #define T_U7 (TERM_STR(KS_U7)) /* request cursor position */ |
191 #define T_8F (TERM_STR(KS_8F)) /* set foreground color (RGB) */ | 193 #define T_8F (TERM_STR(KS_8F)) /* set foreground color (RGB) */ |
192 #define T_8B (TERM_STR(KS_8B)) /* set background color (RGB) */ | 194 #define T_8B (TERM_STR(KS_8B)) /* set background color (RGB) */ |