summaryrefslogtreecommitdiff
path: root/src/term.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-08-28 22:43:05 +0200
committerBram Moolenaar <Bram@vim.org>2017-08-28 22:43:05 +0200
commit4db2554954056f21f2ba4cf4988c652745d7042a (patch)
tree8a8a1fb3c3180dc94ac84497b697b8b5f5558baf /src/term.h
parent1dccf6351dd37e648b2e15fb9f9f71ceba88d446 (diff)
downloadvim-git-4db2554954056f21f2ba4cf4988c652745d7042a.tar.gz
patch 8.0.1009: Xterm cursor blinking status may be invertedv8.0.1009
Problem: Xterm cursor blinking status may be inverted. Solution: Use another request to get the blink status and compare with the cursor style report
Diffstat (limited to 'src/term.h')
-rw-r--r--src/term.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/term.h b/src/term.h
index 18c1294af..0fedfeaa8 100644
--- a/src/term.h
+++ b/src/term.h
@@ -42,7 +42,8 @@ enum SpecialKey
KS_VS, /* cursor very visible (blink) */
KS_CVS, /* cursor normally visible (no blink) */
KS_CSH, /* cursor shape */
- KS_CRS, /* request cursor shape */
+ KS_CRC, /* request cursor blinking */
+ KS_CRS, /* request cursor style */
KS_ME, /* normal mode */
KS_MR, /* reverse mode */
KS_MD, /* bold mode */
@@ -135,7 +136,8 @@ extern char_u *(term_strings[]); /* current terminal strings */
#define T_VS (TERM_STR(KS_VS)) /* cursor very visible (blink) */
#define T_CVS (TERM_STR(KS_CVS)) /* cursor normally visible (no blink) */
#define T_CSH (TERM_STR(KS_CSH)) /* cursor shape */
-#define T_CRS (TERM_STR(KS_CRS)) /* request cursor shape */
+#define T_CRC (TERM_STR(KS_CRC)) /* request cursor blinking */
+#define T_CRS (TERM_STR(KS_CRS)) /* request cursor style */
#define T_ME (TERM_STR(KS_ME)) /* normal mode */
#define T_MR (TERM_STR(KS_MR)) /* reverse mode */
#define T_MD (TERM_STR(KS_MD)) /* bold mode */