aboutsummaryrefslogtreecommitdiff
path: root/popup.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-05-15 10:31:54 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-05-15 10:31:54 +0100
commit5ee4d991b6a325848083017665ac3d3ace2d1fa1 (patch)
tree68758e3a785e9776087c4cadf187a201919a573b /popup.c
parentc4d8100b2fd220d358481db419221ee1454d3cad (diff)
downloadrtmux-5ee4d991b6a325848083017665ac3d3ace2d1fa1.tar.gz
rtmux-5ee4d991b6a325848083017665ac3d3ace2d1fa1.tar.bz2
rtmux-5ee4d991b6a325848083017665ac3d3ace2d1fa1.zip
xterm-keys has been on by default for 5 years and all other modern terminals
use these key sequences by default. Merge the code into the main tty and input tree processing (convering the latter to use a tree rather than a table at the same time) and make the option a no-op.
Diffstat (limited to 'popup.c')
-rw-r--r--popup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/popup.c b/popup.c
index 2a50d4ad..8d88c99f 100644
--- a/popup.c
+++ b/popup.c
@@ -328,7 +328,7 @@ popup_key_cb(struct client *c, struct key_event *event)
bufferevent_write(job_get_event(pd->job), buf, len);
return (0);
}
- input_key(NULL, &pd->s, job_get_event(pd->job), event->key);
+ input_key(&pd->s, job_get_event(pd->job), event->key);
return (0);
}