summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-11-23 23:30:58 +0000
committerBram Moolenaar <Bram@vim.org>2022-11-23 23:30:58 +0000
commit43300f6034fbefb54b5d1dc1b4c72d5fe57438c8 (patch)
tree03f1cd83c9a3784efa0c0a27337f36407f28f8b5
parentecfd511e8d802068434735dda00db6b783df6922 (diff)
downloadvim-git-43300f6034fbefb54b5d1dc1b4c72d5fe57438c8.tar.gz
patch 9.0.0933: Kitty shows "already at oldest change" on startupv9.0.0933
Problem: Kitty shows "already at oldest change" on startup. Solution: When receiving the keyboard protocol state return the ignore key. (closes #11601)
-rw-r--r--src/term.c3
-rw-r--r--src/version.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/term.c b/src/term.c
index 981e2169c..aa8dcbafa 100644
--- a/src/term.c
+++ b/src/term.c
@@ -5238,6 +5238,9 @@ handle_csi(
// The protocol has various "progressive enhancement flags" values, but
// we only check for zero and non-zero here.
kitty_protocol_state = arg[0] == '0' ? KKPS_OFF : KKPS_ENABLED;
+
+ key_name[0] = (int)KS_EXTRA;
+ key_name[1] = (int)KE_IGNORE;
*slen = csi_len;
}
diff --git a/src/version.c b/src/version.c
index cdc62fc08..54eb3552e 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 */
/**/
+ 933,
+/**/
932,
/**/
931,