From ce1c32780a7d0ae5110eab627fcbfd4a11e5eb52 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 20 Aug 2017 15:05:15 +0200 Subject: patch 8.0.0973: initial info about blinking cursor is wrong Problem: initial info about blinking cursor is wrong Solution: Invert the blink flag. Add t_VS to stop a blinking cursor. --- src/term.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/term.h') diff --git a/src/term.h b/src/term.h index 00e3c96aa..18c1294af 100644 --- a/src/term.h +++ b/src/term.h @@ -39,7 +39,8 @@ enum SpecialKey KS_DB, /* text may be scrolled up from down */ KS_VI, /* cursor invisible */ KS_VE, /* cursor visible */ - KS_VS, /* cursor very visible */ + KS_VS, /* cursor very visible (blink) */ + KS_CVS, /* cursor normally visible (no blink) */ KS_CSH, /* cursor shape */ KS_CRS, /* request cursor shape */ KS_ME, /* normal mode */ @@ -131,7 +132,8 @@ extern char_u *(term_strings[]); /* current terminal strings */ #define T_DB (TERM_STR(KS_DB)) /* text may be scrolled up from down */ #define T_VI (TERM_STR(KS_VI)) /* cursor invisible */ #define T_VE (TERM_STR(KS_VE)) /* cursor visible */ -#define T_VS (TERM_STR(KS_VS)) /* cursor very visible */ +#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_ME (TERM_STR(KS_ME)) /* normal mode */ -- cgit v1.2.3