comparison src/term.h @ 6874:a89cff862dda v7.4.757

patch 7.4.757 Problem: Cannot detect the background color of a terminal. Solution: Add T_RBG to request the background color if possible. (Lubomir Rintel)
author Bram Moolenaar <bram@vim.org>
date Thu, 25 Jun 2015 17:03:36 +0200
parents 7c5a0c69e1ac
children 24b43dd167eb
comparison
equal deleted inserted replaced
6873:48ad20643c92 6874:a89cff862dda
77 KS_TS, /* set window title start (to status line)*/ 77 KS_TS, /* set window title start (to status line)*/
78 KS_FS, /* set window title end (from status line) */ 78 KS_FS, /* set window title end (from status line) */
79 KS_CWP, /* set window position in pixels */ 79 KS_CWP, /* set window position in pixels */
80 KS_CWS, /* set window size in characters */ 80 KS_CWS, /* set window size in characters */
81 KS_CRV, /* request version string */ 81 KS_CRV, /* request version string */
82 KS_RBG, /* request background color */
82 KS_CSI, /* start insert mode (bar cursor) */ 83 KS_CSI, /* start insert mode (bar cursor) */
83 KS_CEI, /* end insert mode (block cursor) */ 84 KS_CEI, /* end insert mode (block cursor) */
84 KS_CSR, /* start replace mode (underline cursor) */ 85 KS_CSR, /* start replace mode (underline cursor) */
85 #ifdef FEAT_VERTSPLIT 86 #ifdef FEAT_VERTSPLIT
86 KS_CSV, /* scroll region vertical */ 87 KS_CSV, /* scroll region vertical */
160 #define T_CWS (term_str(KS_CWS)) /* window size */ 161 #define T_CWS (term_str(KS_CWS)) /* window size */
161 #define T_CSI (term_str(KS_CSI)) /* start insert mode */ 162 #define T_CSI (term_str(KS_CSI)) /* start insert mode */
162 #define T_CEI (term_str(KS_CEI)) /* end insert mode */ 163 #define T_CEI (term_str(KS_CEI)) /* end insert mode */
163 #define T_CSR (term_str(KS_CSR)) /* start replace mode */ 164 #define T_CSR (term_str(KS_CSR)) /* start replace mode */
164 #define T_CRV (term_str(KS_CRV)) /* request version string */ 165 #define T_CRV (term_str(KS_CRV)) /* request version string */
166 #define T_RBG (term_str(KS_RBG)) /* request background RGB */
165 #define T_OP (term_str(KS_OP)) /* original color pair */ 167 #define T_OP (term_str(KS_OP)) /* original color pair */
166 #define T_U7 (term_str(KS_U7)) /* request cursor position */ 168 #define T_U7 (term_str(KS_U7)) /* request cursor position */
167 169
168 #define TMODE_COOK 0 /* terminal mode for external cmds and Ex mode */ 170 #define TMODE_COOK 0 /* terminal mode for external cmds and Ex mode */
169 #define TMODE_SLEEP 1 /* terminal mode for sleeping (cooked but no echo) */ 171 #define TMODE_SLEEP 1 /* terminal mode for sleeping (cooked but no echo) */