diff options
author | nicm <nicm> | 2020-01-13 07:51:54 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-01-13 07:51:54 +0000 |
commit | 04eee2410df4a85005c9562db13a1fec93d7c2e4 (patch) | |
tree | 056d63f2e4f7d0b364fd69d3c3e821164dd2c6a8 /tmux.h | |
parent | 381333c4a9fd521bee8a0287e648f0c6aeb96a0b (diff) | |
download | rtmux-04eee2410df4a85005c9562db13a1fec93d7c2e4.tar.gz rtmux-04eee2410df4a85005c9562db13a1fec93d7c2e4.tar.bz2 rtmux-04eee2410df4a85005c9562db13a1fec93d7c2e4.zip |
Treat plausible but invalid keys (like C-BSpace) as literal like any
other unrecognised string passed to send-keys. Reported by Anthony
Sottile in GitHub issue 2049.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2275,7 +2275,7 @@ void input_parse(struct window_pane *); void input_parse_buffer(struct window_pane *, u_char *, size_t); /* input-key.c */ -void input_key(struct window_pane *, key_code, struct mouse_event *); +int input_key(struct window_pane *, key_code, struct mouse_event *); /* xterm-keys.c */ char *xterm_keys_lookup(key_code); @@ -2498,7 +2498,7 @@ int window_pane_set_mode(struct window_pane *, struct args *); void window_pane_reset_mode(struct window_pane *); void window_pane_reset_mode_all(struct window_pane *); -void window_pane_key(struct window_pane *, struct client *, +int window_pane_key(struct window_pane *, struct client *, struct session *, struct winlink *, key_code, struct mouse_event *); int window_pane_visible(struct window_pane *); |