comparison src/term.h @ 12076:ca4931a20f8c v8.0.0918

patch 8.0.0918: cannot get terminal window cursor shape or attributes commit https://github.com/vim/vim/commit/3cd43ccccb03b2e68df9c8a344a87e51c007c656 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 12 19:51:41 2017 +0200 patch 8.0.0918: cannot get terminal window cursor shape or attributes Problem: Cannot get terminal window cursor shape or attributes. Solution: Support cursor shape, attributes and color.
author Christian Brabandt <cb@256bit.org>
date Sat, 12 Aug 2017 20:00:05 +0200
parents 0c091a7c588c
children 1345621ecdfb
comparison
equal deleted inserted replaced
12075:488c6139c881 12076:ca4931a20f8c
38 KS_DA, /* text may be scrolled down from up */ 38 KS_DA, /* text may be scrolled down from up */
39 KS_DB, /* text may be scrolled up from down */ 39 KS_DB, /* text may be scrolled up from down */
40 KS_VI, /* cursor invisible */ 40 KS_VI, /* cursor invisible */
41 KS_VE, /* cursor visible */ 41 KS_VE, /* cursor visible */
42 KS_VS, /* cursor very visible */ 42 KS_VS, /* cursor very visible */
43 KS_CSH, /* cursor shape */
43 KS_ME, /* normal mode */ 44 KS_ME, /* normal mode */
44 KS_MR, /* reverse mode */ 45 KS_MR, /* reverse mode */
45 KS_MD, /* bold mode */ 46 KS_MD, /* bold mode */
46 KS_SE, /* normal mode */ 47 KS_SE, /* normal mode */
47 KS_SO, /* standout mode */ 48 KS_SO, /* standout mode */
72 KS_CAB, /* set background color (ANSI) */ 73 KS_CAB, /* set background color (ANSI) */
73 KS_LE, /* cursor left (mostly backspace) */ 74 KS_LE, /* cursor left (mostly backspace) */
74 KS_ND, /* cursor right */ 75 KS_ND, /* cursor right */
75 KS_CIS, /* set icon text start */ 76 KS_CIS, /* set icon text start */
76 KS_CIE, /* set icon text end */ 77 KS_CIE, /* set icon text end */
78 KS_CSC, /* set cursor color start */
79 KS_CEC, /* set cursor color end */
77 KS_TS, /* set window title start (to status line)*/ 80 KS_TS, /* set window title start (to status line)*/
78 KS_FS, /* set window title end (from status line) */ 81 KS_FS, /* set window title end (from status line) */
79 KS_CWP, /* set window position in pixels */ 82 KS_CWP, /* set window position in pixels */
80 KS_CGP, /* get window position */ 83 KS_CGP, /* get window position */
81 KS_CWS, /* set window size in characters */ 84 KS_CWS, /* set window size in characters */
126 #define T_DA (TERM_STR(KS_DA)) /* text may be scrolled down from up */ 129 #define T_DA (TERM_STR(KS_DA)) /* text may be scrolled down from up */
127 #define T_DB (TERM_STR(KS_DB)) /* text may be scrolled up from down */ 130 #define T_DB (TERM_STR(KS_DB)) /* text may be scrolled up from down */
128 #define T_VI (TERM_STR(KS_VI)) /* cursor invisible */ 131 #define T_VI (TERM_STR(KS_VI)) /* cursor invisible */
129 #define T_VE (TERM_STR(KS_VE)) /* cursor visible */ 132 #define T_VE (TERM_STR(KS_VE)) /* cursor visible */
130 #define T_VS (TERM_STR(KS_VS)) /* cursor very visible */ 133 #define T_VS (TERM_STR(KS_VS)) /* cursor very visible */
134 #define T_CSH (TERM_STR(KS_CSH)) /* cursor shape */
131 #define T_ME (TERM_STR(KS_ME)) /* normal mode */ 135 #define T_ME (TERM_STR(KS_ME)) /* normal mode */
132 #define T_MR (TERM_STR(KS_MR)) /* reverse mode */ 136 #define T_MR (TERM_STR(KS_MR)) /* reverse mode */
133 #define T_MD (TERM_STR(KS_MD)) /* bold mode */ 137 #define T_MD (TERM_STR(KS_MD)) /* bold mode */
134 #define T_SE (TERM_STR(KS_SE)) /* normal mode */ 138 #define T_SE (TERM_STR(KS_SE)) /* normal mode */
135 #define T_SO (TERM_STR(KS_SO)) /* standout mode */ 139 #define T_SO (TERM_STR(KS_SO)) /* standout mode */
162 #define T_ND (TERM_STR(KS_ND)) /* cursor right */ 166 #define T_ND (TERM_STR(KS_ND)) /* cursor right */
163 #define T_CIS (TERM_STR(KS_CIS)) /* set icon text start */ 167 #define T_CIS (TERM_STR(KS_CIS)) /* set icon text start */
164 #define T_CIE (TERM_STR(KS_CIE)) /* set icon text end */ 168 #define T_CIE (TERM_STR(KS_CIE)) /* set icon text end */
165 #define T_TS (TERM_STR(KS_TS)) /* set window title start */ 169 #define T_TS (TERM_STR(KS_TS)) /* set window title start */
166 #define T_FS (TERM_STR(KS_FS)) /* set window title end */ 170 #define T_FS (TERM_STR(KS_FS)) /* set window title end */
171 #define T_CSC (TERM_STR(KS_CSC)) /* set cursor color start */
172 #define T_CEC (TERM_STR(KS_CEC)) /* set cursor color end */
167 #define T_CWP (TERM_STR(KS_CWP)) /* set window position */ 173 #define T_CWP (TERM_STR(KS_CWP)) /* set window position */
168 #define T_CGP (TERM_STR(KS_CGP)) /* get window position */ 174 #define T_CGP (TERM_STR(KS_CGP)) /* get window position */
169 #define T_CWS (TERM_STR(KS_CWS)) /* window size */ 175 #define T_CWS (TERM_STR(KS_CWS)) /* window size */
170 #define T_CSI (TERM_STR(KS_CSI)) /* start insert mode */ 176 #define T_CSI (TERM_STR(KS_CSI)) /* start insert mode */
171 #define T_CEI (TERM_STR(KS_CEI)) /* end insert mode */ 177 #define T_CEI (TERM_STR(KS_CEI)) /* end insert mode */