summaryrefslogtreecommitdiffstats
path: root/cmd-set-option.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-10-10 14:51:16 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-10-10 14:51:16 +0000
commit4658c063d59bab42ccca8c2e58a50800b00b956f (patch)
treef03988611ea459776d50c5f28d0023d1d7af51c9 /cmd-set-option.c
parent3a20a05a49bdf7cfd7d2131c6f31a2ebf76ad4e5 (diff)
New option, mouse-select-pane. If on, the mouse may be used to select the
current pane. Suggested by sthen@ and also by someone else ages ago who I have forgotten.
Diffstat (limited to 'cmd-set-option.c')
-rw-r--r--cmd-set-option.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c
index 5fbb9e85..2a3b2877 100644
--- a/cmd-set-option.c
+++ b/cmd-set-option.c
@@ -67,6 +67,7 @@ const struct set_option_entry set_option_table[] = {
{ "message-attr", SET_OPTION_ATTRIBUTES, 0, 0, NULL },
{ "message-bg", SET_OPTION_COLOUR, 0, 0, NULL },
{ "message-fg", SET_OPTION_COLOUR, 0, 0, NULL },
+ { "mouse-select-pane", SET_OPTION_FLAG, 0, 0, NULL },
{ "prefix", SET_OPTION_KEYS, 0, 0, NULL },
{ "repeat-time", SET_OPTION_NUMBER, 0, SHRT_MAX, NULL },
{ "set-remain-on-exit", SET_OPTION_FLAG, 0, 0, NULL },