]> granicus.if.org Git - vim/commitdiff
patch 9.0.0933: Kitty shows "already at oldest change" on startup v9.0.0933
authorBram Moolenaar <Bram@vim.org>
Wed, 23 Nov 2022 23:30:58 +0000 (23:30 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 23 Nov 2022 23:30:58 +0000 (23:30 +0000)
Problem:    Kitty shows "already at oldest change" on startup.
Solution:   When receiving the keyboard protocol state return the ignore key.
            (closes #11601)

src/term.c
src/version.c

index 981e2169c7b47351515b3fff3c5d725b2f33e2c9..aa8dcbafa45dc0ada82da1cb80b4057f0c4b9a46 100644 (file)
@@ -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;
     }
 
index cdc62fc087ae9c3ce813dd64d14319aa5486c8f5..54eb3552e61b90be44e3853f59c851bc928f073a 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    933,
 /**/
     932,
 /**/