aboutsummaryrefslogtreecommitdiff
path: root/cmd-set-window-option.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-07-30 07:04:50 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-07-30 07:04:50 +0000
commita419e73f7a356ef3d63f79e3b870fbd4defd74bc (patch)
tree38d3b32c6aeb06b692a16adeae5bceb9624cce7b /cmd-set-window-option.c
parent2b331084b4c69dafac6e2bb1d5b02193666cf0e0 (diff)
downloadrtmux-a419e73f7a356ef3d63f79e3b870fbd4defd74bc.tar.gz
rtmux-a419e73f7a356ef3d63f79e3b870fbd4defd74bc.tar.bz2
rtmux-a419e73f7a356ef3d63f79e3b870fbd4defd74bc.zip
Add a mode-mouse option to prevent tmux taking over the mouse in choice or copy
modes.
Diffstat (limited to 'cmd-set-window-option.c')
-rw-r--r--cmd-set-window-option.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-set-window-option.c b/cmd-set-window-option.c
index c24f3592..1d90425d 100644
--- a/cmd-set-window-option.c
+++ b/cmd-set-window-option.c
@@ -60,6 +60,7 @@ const struct set_option_entry set_window_option_table[] = {
{ "mode-bg", SET_OPTION_COLOUR, 0, 0, NULL },
{ "mode-fg", SET_OPTION_COLOUR, 0, 0, NULL },
{ "mode-keys", SET_OPTION_CHOICE, 0, 0, set_option_mode_keys_list },
+ { "mode-mouse", SET_OPTION_FLAG, 0, 0, NULL },
{ "monitor-activity", SET_OPTION_FLAG, 0, 0, NULL },
{ "monitor-content", SET_OPTION_STRING, 0, 0, NULL },
{ "remain-on-exit", SET_OPTION_FLAG, 0, 0, NULL },