From 2e5584c2b41df1c1b836c3229ea78f8ea3d81054 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 12 Sep 2016 15:40:58 +0000 Subject: Allow repeat count to be specified in mode key tables with bind-key -R, and set the default repeat count to 5 for WheelUp and WheelDown in copy-mode. --- tmux.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index dda7a18e..4a3bff4d 100644 --- a/tmux.h +++ b/tmux.h @@ -566,6 +566,7 @@ struct mode_key_data { /* Binding between a key and a command. */ struct mode_key_binding { key_code key; + u_int repeat; int mode; enum mode_key_cmd cmd; @@ -1633,7 +1634,7 @@ const struct mode_key_table *mode_key_findtable(const char *); void mode_key_init_trees(void); void mode_key_init(struct mode_key_data *, struct mode_key_tree *); enum mode_key_cmd mode_key_lookup(struct mode_key_data *, key_code, - const char **); + const char **, u_int *); /* notify.c */ void notify_enable(void); -- cgit