mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
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
|
// The protocol has various "progressive enhancement flags" values, but
|
||||||
// we only check for zero and non-zero here.
|
// we only check for zero and non-zero here.
|
||||||
kitty_protocol_state = arg[0] == '0' ? KKPS_OFF : KKPS_ENABLED;
|
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;
|
*slen = csi_len;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -695,6 +695,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
933,
|
||||||
/**/
|
/**/
|
||||||
932,
|
932,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user