forked from aniani/vim
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)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
@@ -695,6 +695,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
933,
|
||||
/**/
|
||||
932,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user