diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-08-12 19:51:41 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-08-12 19:51:41 +0200 |
commit | 3cd43ccccb03b2e68df9c8a344a87e51c007c656 (patch) | |
tree | 51e41f2ba0520be2c6f4b0753538259545feca05 /src/term.h | |
parent | 589b1109c55409baf27f79920d8ffc95111eaa01 (diff) | |
download | vim-git-3cd43ccccb03b2e68df9c8a344a87e51c007c656.tar.gz |
patch 8.0.0918: cannot get terminal window cursor shape or attributesv8.0.0918
Problem: Cannot get terminal window cursor shape or attributes.
Solution: Support cursor shape, attributes and color.
Diffstat (limited to 'src/term.h')
-rw-r--r-- | src/term.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/term.h b/src/term.h index be01cb5ad..66ad4c66c 100644 --- a/src/term.h +++ b/src/term.h @@ -40,6 +40,7 @@ enum SpecialKey KS_VI, /* cursor invisible */ KS_VE, /* cursor visible */ KS_VS, /* cursor very visible */ + KS_CSH, /* cursor shape */ KS_ME, /* normal mode */ KS_MR, /* reverse mode */ KS_MD, /* bold mode */ @@ -74,6 +75,8 @@ enum SpecialKey KS_ND, /* cursor right */ KS_CIS, /* set icon text start */ KS_CIE, /* set icon text end */ + KS_CSC, /* set cursor color start */ + KS_CEC, /* set cursor color end */ KS_TS, /* set window title start (to status line)*/ KS_FS, /* set window title end (from status line) */ KS_CWP, /* set window position in pixels */ @@ -128,6 +131,7 @@ extern char_u *(term_strings[]); /* current terminal strings */ #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_CSH (TERM_STR(KS_CSH)) /* cursor shape */ #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 */ @@ -164,6 +168,8 @@ extern char_u *(term_strings[]); /* current terminal strings */ #define T_CIE (TERM_STR(KS_CIE)) /* set icon text end */ #define T_TS (TERM_STR(KS_TS)) /* set window title start */ #define T_FS (TERM_STR(KS_FS)) /* set window title end */ +#define T_CSC (TERM_STR(KS_CSC)) /* set cursor color start */ +#define T_CEC (TERM_STR(KS_CEC)) /* set cursor color end */ #define T_CWP (TERM_STR(KS_CWP)) /* set window position */ #define T_CGP (TERM_STR(KS_CGP)) /* get window position */ #define T_CWS (TERM_STR(KS_CWS)) /* window size */ |