comparison src/term.h @ 12170:1345621ecdfb v8.0.0965

patch 8.0.0965: not restoring cursor shape after it was set in a terminal commit https://github.com/vim/vim/commit/3eee06e7d4c3a8e2dbb2577a1eef0e0f108e0288 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 19 19:40:50 2017 +0200 patch 8.0.0965: not restoring cursor shape after it was set in a terminal Problem: The cursor shape is not reset after it was changed in a terminal. Solution: Request the original cursor shape and restore it. Add t_RS. Do not add t_SH for now, it does not work properly.
author Christian Brabandt <cb@256bit.org>
date Sat, 19 Aug 2017 19:45:04 +0200
parents ca4931a20f8c
children 36456f237c59
comparison
equal deleted inserted replaced
12169:28f606bb906c 12170:1345621ecdfb
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_CSH, /* cursor shape */
44 KS_CRS, /* request cursor shape */
44 KS_ME, /* normal mode */ 45 KS_ME, /* normal mode */
45 KS_MR, /* reverse mode */ 46 KS_MR, /* reverse mode */
46 KS_MD, /* bold mode */ 47 KS_MD, /* bold mode */
47 KS_SE, /* normal mode */ 48 KS_SE, /* normal mode */
48 KS_SO, /* standout mode */ 49 KS_SO, /* standout mode */
130 #define T_DB (TERM_STR(KS_DB)) /* text may be scrolled up from down */ 131 #define T_DB (TERM_STR(KS_DB)) /* text may be scrolled up from down */
131 #define T_VI (TERM_STR(KS_VI)) /* cursor invisible */ 132 #define T_VI (TERM_STR(KS_VI)) /* cursor invisible */
132 #define T_VE (TERM_STR(KS_VE)) /* cursor visible */ 133 #define T_VE (TERM_STR(KS_VE)) /* cursor visible */
133 #define T_VS (TERM_STR(KS_VS)) /* cursor very visible */ 134 #define T_VS (TERM_STR(KS_VS)) /* cursor very visible */
134 #define T_CSH (TERM_STR(KS_CSH)) /* cursor shape */ 135 #define T_CSH (TERM_STR(KS_CSH)) /* cursor shape */
136 #define T_CRS (TERM_STR(KS_CRS)) /* request cursor shape */
135 #define T_ME (TERM_STR(KS_ME)) /* normal mode */ 137 #define T_ME (TERM_STR(KS_ME)) /* normal mode */
136 #define T_MR (TERM_STR(KS_MR)) /* reverse mode */ 138 #define T_MR (TERM_STR(KS_MR)) /* reverse mode */
137 #define T_MD (TERM_STR(KS_MD)) /* bold mode */ 139 #define T_MD (TERM_STR(KS_MD)) /* bold mode */
138 #define T_SE (TERM_STR(KS_SE)) /* normal mode */ 140 #define T_SE (TERM_STR(KS_SE)) /* normal mode */
139 #define T_SO (TERM_STR(KS_SO)) /* standout mode */ 141 #define T_SO (TERM_STR(KS_SO)) /* standout mode */