diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-12-03 00:00:38 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-12-03 00:00:38 +0000 |
commit | af19ec0bfad6b70f3b7898da7f786a348ac01b50 (patch) | |
tree | 34f12db1f2f599ee27b12d8686e37aea05b9b6d2 | |
parent | 37f088eeade7972bce45b663adaba4bf102a9999 (diff) | |
download | vim-git-af19ec0bfad6b70f3b7898da7f786a348ac01b50.tar.gz |
patch 9.0.0996: if 'keyprotocol' is empty "xterm" still uses modifyOtherKeysv9.0.0996
Problem: If 'keyprotocol' is empty "xterm" still uses modifyOtherKeys.
Solution: Remove t_TI, t_RK and t_TE from the "xterm" builtin termcap and
let the default value of 'keyprotocol' add those.
-rw-r--r-- | src/term.c | 8 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/term.c b/src/term.c index 3c9a24309..3df121433 100644 --- a/src/term.c +++ b/src/term.c @@ -452,9 +452,11 @@ static tcap_entry_T builtin_xterm[] = { {(int)KS_TI, "\0337\033[?47h"}, {(int)KS_TE, "\033[?47l\0338"}, # endif - {(int)KS_CTI, "\033[>4;2m"}, - {(int)KS_CRK, "\033[?4m"}, // see "builtin_mok2" - {(int)KS_CTE, "\033[>4;m"}, + // These are now under control of the 'keyprotocol' option, see + // "builtin_mok2". + // {(int)KS_CTI, "\033[>4;2m"}, + // {(int)KS_CRK, "\033[?4m"}, + // {(int)KS_CTE, "\033[>4;m"}, {(int)KS_CIS, "\033]1;"}, {(int)KS_CIE, "\007"}, {(int)KS_TS, "\033]2;"}, diff --git a/src/version.c b/src/version.c index 444e9bfd1..8ccf7d2b3 100644 --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 996, +/**/ 995, /**/ 994, |