mirror of
https://github.com/tmux/tmux.git
synced 2025-09-04 23:56:58 +00:00
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.
This commit is contained in:
3
tmux.h
3
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);
|
||||
|
Reference in New Issue
Block a user