Mercurial > vim
changeset 31325:e352d200d096 v9.0.0996
patch 9.0.0996: if 'keyprotocol' is empty "xterm" still uses modifyOtherKeys
Commit: https://github.com/vim/vim/commit/af19ec0bfad6b70f3b7898da7f786a348ac01b50
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Dec 3 00:00:38 2022 +0000
patch 9.0.0996: if 'keyprotocol' is empty "xterm" still uses modifyOtherKeys
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 03 Dec 2022 01:15:04 +0100 |
parents | 5b84a71965b9 |
children | b35a91445cb4 |
files | src/term.c src/version.c |
diffstat | 2 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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;"},