diff src/optiondefs.h @ 26670:a77b661439f9 v8.2.3864

patch 8.2.3864: cannot disable requesting key codes from xterm Commit: https://github.com/vim/vim/commit/6f79e614b25caebd35cf0d82b6f3b7e0733849ec Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 21 09:12:23 2021 +0000 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.
author Bram Moolenaar <Bram@vim.org>
date Tue, 21 Dec 2021 10:15:04 +0100
parents 8088fa133b93
children daac3cf65d7e
line wrap: on
line diff
--- a/src/optiondefs.h
+++ b/src/optiondefs.h
@@ -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, \