aboutsummaryrefslogtreecommitdiff
path: root/tmux.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 /tmux.c
parent3a20a05a49bdf7cfd7d2131c6f31a2ebf76ad4e5 (diff)
downloadrtmux-4658c063d59bab42ccca8c2e58a50800b00b956f.tar.gz
rtmux-4658c063d59bab42ccca8c2e58a50800b00b956f.tar.bz2
rtmux-4658c063d59bab42ccca8c2e58a50800b00b956f.zip
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 'tmux.c')
-rw-r--r--tmux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.c b/tmux.c
index cfbf8aac..6e747bbe 100644
--- a/tmux.c
+++ b/tmux.c
@@ -381,6 +381,7 @@ main(int argc, char **argv)
options_set_number(so, "message-attr", 0);
options_set_number(so, "message-bg", 3);
options_set_number(so, "message-fg", 0);
+ options_set_number(so, "mouse-select-pane", 0);
options_set_number(so, "repeat-time", 500);
options_set_number(so, "set-remain-on-exit", 0);
options_set_number(so, "set-titles", 0);