0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.2.3864: cannot disable requesting key codes from xterm

Problem:    Cannot disable requesting key codes from xterm.
Solution:   Add the 'xtermcodes' option, default on.
This commit is contained in:
Bram Moolenaar
2021-12-21 09:12:23 +00:00
parent 8d95d7091d
commit 6f79e614b2
7 changed files with 38 additions and 6 deletions

View File

@@ -2941,6 +2941,9 @@ static struct vimoption options[] =
{"writedelay", "wd", P_NUM|P_VI_DEF,
(char_u *)&p_wd, PV_NONE,
{(char_u *)0L, (char_u *)0L} SCTX_INIT},
{"xtermcodes", NULL, P_BOOL|P_VI_DEF,
(char_u *)&p_xtermcodes, PV_NONE,
{(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
// terminal output codes
#define p_term(sss, vvv) {sss, NULL, P_STRING|P_VI_DEF|P_RALL|P_SECURE, \