diff options
author | nicm <nicm> | 2016-09-12 15:40:58 +0000 |
---|---|---|
committer | nicm <nicm> | 2016-09-12 15:40:58 +0000 |
commit | 2e5584c2b41df1c1b836c3229ea78f8ea3d81054 (patch) | |
tree | 1f790c7d13f657d2e22bb292c56968cbc84bf675 /tmux.h | |
parent | fed1e384ad7eb88cc6203e49d4efa8e5ed4edb59 (diff) | |
download | rtmux-2e5584c2b41df1c1b836c3229ea78f8ea3d81054.tar.gz rtmux-2e5584c2b41df1c1b836c3229ea78f8ea3d81054.tar.bz2 rtmux-2e5584c2b41df1c1b836c3229ea78f8ea3d81054.zip |
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.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |