Make C-[ have the same bindings as Escape for terminals with extended

keys where they are different, GitHub issue 5035 from Eric NICOLAS.
This commit is contained in:
nicm
2026-04-28 10:01:07 +00:00
parent 746dd91e86
commit 4a926e489b
4 changed files with 7 additions and 0 deletions

1
menu.c
View File

@@ -471,6 +471,7 @@ menu_key_cb(struct client *c, void *data, struct key_event *event)
case '\r':
goto chosen;
case '\033': /* Escape */
case '['|KEYC_CTRL:
case 'c'|KEYC_CTRL:
case 'g'|KEYC_CTRL:
case 'q':