Mercurial > vim
comparison src/term.h @ 12259:48eac9bc2f82 v8.0.1009
patch 8.0.1009: Xterm cursor blinking status may be inverted
commit https://github.com/vim/vim/commit/4db2554954056f21f2ba4cf4988c652745d7042a
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Aug 28 22:43:05 2017 +0200
patch 8.0.1009: Xterm cursor blinking status may be inverted
Problem: Xterm cursor blinking status may be inverted.
Solution: Use another request to get the blink status and compare with the
cursor style report
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 28 Aug 2017 22:45:04 +0200 |
parents | 36456f237c59 |
children | 2a8890b80923 |
comparison
equal
deleted
inserted
replaced
12258:8b386ef3a93d | 12259:48eac9bc2f82 |
---|---|
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 (blink) */ | 42 KS_VS, /* cursor very visible (blink) */ |
43 KS_CVS, /* cursor normally visible (no blink) */ | 43 KS_CVS, /* cursor normally visible (no blink) */ |
44 KS_CSH, /* cursor shape */ | 44 KS_CSH, /* cursor shape */ |
45 KS_CRS, /* request cursor shape */ | 45 KS_CRC, /* request cursor blinking */ |
46 KS_CRS, /* request cursor style */ | |
46 KS_ME, /* normal mode */ | 47 KS_ME, /* normal mode */ |
47 KS_MR, /* reverse mode */ | 48 KS_MR, /* reverse mode */ |
48 KS_MD, /* bold mode */ | 49 KS_MD, /* bold mode */ |
49 KS_SE, /* normal mode */ | 50 KS_SE, /* normal mode */ |
50 KS_SO, /* standout mode */ | 51 KS_SO, /* standout mode */ |
133 #define T_VI (TERM_STR(KS_VI)) /* cursor invisible */ | 134 #define T_VI (TERM_STR(KS_VI)) /* cursor invisible */ |
134 #define T_VE (TERM_STR(KS_VE)) /* cursor visible */ | 135 #define T_VE (TERM_STR(KS_VE)) /* cursor visible */ |
135 #define T_VS (TERM_STR(KS_VS)) /* cursor very visible (blink) */ | 136 #define T_VS (TERM_STR(KS_VS)) /* cursor very visible (blink) */ |
136 #define T_CVS (TERM_STR(KS_CVS)) /* cursor normally visible (no blink) */ | 137 #define T_CVS (TERM_STR(KS_CVS)) /* cursor normally visible (no blink) */ |
137 #define T_CSH (TERM_STR(KS_CSH)) /* cursor shape */ | 138 #define T_CSH (TERM_STR(KS_CSH)) /* cursor shape */ |
138 #define T_CRS (TERM_STR(KS_CRS)) /* request cursor shape */ | 139 #define T_CRC (TERM_STR(KS_CRC)) /* request cursor blinking */ |
140 #define T_CRS (TERM_STR(KS_CRS)) /* request cursor style */ | |
139 #define T_ME (TERM_STR(KS_ME)) /* normal mode */ | 141 #define T_ME (TERM_STR(KS_ME)) /* normal mode */ |
140 #define T_MR (TERM_STR(KS_MR)) /* reverse mode */ | 142 #define T_MR (TERM_STR(KS_MR)) /* reverse mode */ |
141 #define T_MD (TERM_STR(KS_MD)) /* bold mode */ | 143 #define T_MD (TERM_STR(KS_MD)) /* bold mode */ |
142 #define T_SE (TERM_STR(KS_SE)) /* normal mode */ | 144 #define T_SE (TERM_STR(KS_SE)) /* normal mode */ |
143 #define T_SO (TERM_STR(KS_SO)) /* standout mode */ | 145 #define T_SO (TERM_STR(KS_SO)) /* standout mode */ |