diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-10-10 14:51:17 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-10-10 14:51:17 +0000 |
commit | 2123db726ea6524a385d93317144bab6cb592489 (patch) | |
tree | fe56699e60a8628f2ab75e542f3f0ff14c3dee77 /usr.bin/tmux/tmux.c | |
parent | 1e4a2d1970a402b97d119396cf414c3640d040f4 (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 'usr.bin/tmux/tmux.c')
-rw-r--r-- | usr.bin/tmux/tmux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c index 8172b00291d..a38aa852a29 100644 --- a/usr.bin/tmux/tmux.c +++ b/usr.bin/tmux/tmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.c,v 1.48 2009/10/10 09:46:11 nicm Exp $ */ +/* $OpenBSD: tmux.c,v 1.49 2009/10/10 14:51:16 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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); |