aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/tmux.h b/tmux.h
index f3263f4a..f1b0f7ac 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1002,7 +1002,9 @@ struct tty {
int term_flags;
- struct timeval key_timer;
+ void (*key_callback)(int, struct mouse_event *, void *);
+ void *key_data;
+ struct event key_timer;
size_t ksize; /* maximum key size */
RB_HEAD(tty_keys, tty_key) ktree;
@@ -1360,7 +1362,7 @@ int tty_keys_cmp(struct tty_key *, struct tty_key *);
RB_PROTOTYPE(tty_keys, tty_key, entry, tty_keys_cmp);
void tty_keys_init(struct tty *);
void tty_keys_free(struct tty *);
-int tty_keys_next(struct tty *, int *, struct mouse_event *);
+int tty_keys_next(struct tty *);
/* options-cmd.c */
const char *set_option_print(