diff options
author | nicm <nicm> | 2019-06-26 18:28:31 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-06-26 18:28:31 +0000 |
commit | 87ea14328ce60fdfb8bd0aef15b7e3b3bdccb1ed (patch) | |
tree | 267f525e99deefb03e62e9828236787b770bfe61 /cmd-display-panes.c | |
parent | c599ad63f8857bd74e85150e60339fd2efbb9650 (diff) |
Pass keys that aren't 0-9 on to normal key processing when display-panes
is active (restores previous behaviour).
Diffstat (limited to 'cmd-display-panes.c')
-rw-r--r-- | cmd-display-panes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-display-panes.c b/cmd-display-panes.c index aa665f08..df97819c 100644 --- a/cmd-display-panes.c +++ b/cmd-display-panes.c @@ -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) |