mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
Extend the mode-mouse option to add a third choice which means the mouse
does not enter copy mode. Patch from SF bug 3374493. In future the mode-mouse option is likely to die and be broken into several smaller options.
This commit is contained in:
@ -36,6 +36,9 @@
|
||||
const char *options_table_mode_keys_list[] = {
|
||||
"emacs", "vi", NULL
|
||||
};
|
||||
const char *options_table_mode_mouse_list[] = {
|
||||
"off", "on", "copy-mode", NULL
|
||||
};
|
||||
const char *options_table_clock_mode_style_list[] = {
|
||||
"12", "24", NULL
|
||||
};
|
||||
@ -484,7 +487,8 @@ const struct options_table_entry window_options_table[] = {
|
||||
},
|
||||
|
||||
{ .name = "mode-mouse",
|
||||
.type = OPTIONS_TABLE_FLAG,
|
||||
.type = OPTIONS_TABLE_CHOICE,
|
||||
.choices = options_table_mode_mouse_list,
|
||||
.default_num = 0
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user