From: Bram Moolenaar Date: Wed, 23 Nov 2022 23:30:58 +0000 (+0000) Subject: patch 9.0.0933: Kitty shows "already at oldest change" on startup X-Git-Tag: v9.0.0933 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=43300f6034fbefb54b5d1dc1b4c72d5fe57438c8;p=thirdparty%2Fvim.git patch 9.0.0933: Kitty shows "already at oldest change" on startup Problem: Kitty shows "already at oldest change" on startup. Solution: When receiving the keyboard protocol state return the ignore key. (closes #11601) --- diff --git a/src/term.c b/src/term.c index 981e2169c7..aa8dcbafa4 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 cdc62fc087..54eb3552e6 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 933, /**/ 932, /**/