Pass keys that aren't 0-9 on to normal key processing when display-panes

is active (restores previous behaviour).
This commit is contained in:
nicm
2019-06-26 18:28:31 +00:00
parent c599ad63f8
commit 87ea14328c
2 changed files with 7 additions and 3 deletions

View File

@ -204,7 +204,7 @@ cmd_display_panes_key(struct client *c, struct key_event *event)
struct cmd_parse_result *pr;
if (event->key < '0' || event->key > '9')
return (1);
return (-1);
wp = window_pane_at_index(w, event->key - '0');
if (wp == NULL)