Skip to content

Commit

Permalink
patch 9.0.0933: Kitty shows "already at oldest change" on startup
Browse files Browse the repository at this point in the history
Problem:    Kitty shows "already at oldest change" on startup.
Solution:   When receiving the keyboard protocol state return the ignore key.
            (closes #11601)
  • Loading branch information
brammool committed Nov 23, 2022
1 parent ecfd511 commit 43300f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/term.c
Expand Up @@ -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;
}

Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -695,6 +695,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
933,
/**/
932,
/**/
Expand Down

0 comments on commit 43300f6

Please sign in to comment.