Mercurial > vim
diff src/term.h @ 18299:a9cf41bcb5d6 v8.1.2144
patch 8.1.2144: side effects when using t_ti to enable modifyOtherKeys
Commit: https://github.com/vim/vim/commit/171a921b51101c1261040d28a8147c8829b675d3
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 12 21:08:59 2019 +0200
patch 8.1.2144: side effects when using t_ti to enable modifyOtherKeys
Problem: Side effects when using t_ti to enable modifyOtherKeys.
Solution: Add t_TI and t_TE.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 12 Oct 2019 21:15:04 +0200 |
parents | 3375a8cbb442 |
children | 6e3dc2d630c2 |
line wrap: on
line diff
--- a/src/term.h +++ b/src/term.h @@ -65,7 +65,9 @@ enum SpecialKey KS_KS, /* put term in "keypad transmit" mode */ KS_KE, /* out of "keypad transmit" mode */ KS_TI, /* put terminal in termcap mode */ - KS_TE, /* out of termcap mode */ + KS_CTI, /* put terminal in "raw" mode */ + KS_TE, /* end of termcap mode */ + KS_CTE, /* end of "raw" mode */ KS_BC, /* backspace character (cursor left) */ KS_CCS, /* cur is relative to scroll region */ KS_CCO, /* number of colors */ @@ -164,7 +166,9 @@ extern char_u *(term_strings[]); /* c #define T_KS (TERM_STR(KS_KS)) /* put term in "keypad transmit" mode */ #define T_KE (TERM_STR(KS_KE)) /* out of "keypad transmit" mode */ #define T_TI (TERM_STR(KS_TI)) /* put terminal in termcap mode */ -#define T_TE (TERM_STR(KS_TE)) /* out of termcap mode */ +#define T_CTI (TERM_STR(KS_CTI)) /* put terminal in "raw" mode */ +#define T_TE (TERM_STR(KS_TE)) /* end of termcap mode */ +#define T_CTE (TERM_STR(KS_CTE)) /* end of "raw" mode */ #define T_BC (TERM_STR(KS_BC)) /* backspace character */ #define T_CCS (TERM_STR(KS_CCS)) /* cur is relative to scroll region */ #define T_CCO (TERM_STR(KS_CCO)) /* number of colors */