changeset 31198:b4491e73d6d1 v9.0.0933

patch 9.0.0933: Kitty shows "already at oldest change" on startup Commit: https://github.com/vim/vim/commit/43300f6034fbefb54b5d1dc1b4c72d5fe57438c8 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Nov 23 23:30:58 2022 +0000 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)
author Bram Moolenaar <Bram@vim.org>
date Thu, 24 Nov 2022 00:45:03 +0100
parents 6f6ddbff2f47
children 2a1806eb1a4e
files src/term.c src/version.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
     }
 
--- 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,