diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-11-30 10:23:17 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-11-30 10:23:17 +0000 |
commit | a87749e3eae3f918b6678f45cf975f0cf06d3e97 (patch) | |
tree | e4687518fb9a8e34d74e4c95b403c0c2011be780 /src | |
parent | 7c02ad9f8906b576e53a62342c68ae557f67bacc (diff) | |
download | vim-git-a87749e3eae3f918b6678f45cf975f0cf06d3e97.tar.gz |
patch 9.0.0976: enabling the kitty keyboard protocol uses push/popv9.0.0976
Problem: Enabling the kitty keyboard protocol uses push/pop.
Solution: Use the start/stop codes to avoid unpredictable behavior.
Diffstat (limited to 'src')
-rw-r--r-- | src/term.c | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/term.c b/src/term.c index 74c461299..9a45f46c3 100644 --- a/src/term.c +++ b/src/term.c @@ -608,11 +608,11 @@ static tcap_entry_T builtin_mok2[] = { static tcap_entry_T builtin_kitty[] = { // t_TI enables the kitty keyboard protocol, requests the kitty keyboard // protocol state and requests the version response. - {(int)KS_CTI, "\033[>1u\033[?u\033[>c"}, + {(int)KS_CTI, "\033[=1;1u\033[?u\033[>c"}, // t_TE also disabled modifyOtherKeys, because t_TI from xterm may already // have been used. - {(int)KS_CTE, "\033[>4;m\033[<u"}, + {(int)KS_CTE, "\033[>4;m\033[=0;1u"}, {(int)KS_NAME, NULL} // end marker }; diff --git a/src/version.c b/src/version.c index 98f1cf2d0..37d7c8f51 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 */ /**/ + 976, +/**/ 975, /**/ 974, |