diff options
author | 2009-07-30 07:04:50 +0000 | |
---|---|---|
committer | 2009-07-30 07:04:50 +0000 | |
commit | d940efd9bbb544db874e7d41b823413812fffa65 (patch) | |
tree | ce07aeec3fb4614b82ca2b260a860fe3d4b73d37 /usr.bin/tmux/tmux.c | |
parent | tweak previous; (diff) | |
download | wireguard-openbsd-d940efd9bbb544db874e7d41b823413812fffa65.tar.xz wireguard-openbsd-d940efd9bbb544db874e7d41b823413812fffa65.zip |
Add a mode-mouse option to prevent tmux taking over the mouse in choice or copy
modes.
Diffstat (limited to 'usr.bin/tmux/tmux.c')
-rw-r--r-- | usr.bin/tmux/tmux.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c index d3ac8fdbb51..8ff1d6d089a 100644 --- a/usr.bin/tmux/tmux.c +++ b/usr.bin/tmux/tmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.c,v 1.23 2009/07/29 14:17:26 nicm Exp $ */ +/* $OpenBSD: tmux.c,v 1.24 2009/07/30 07:04:50 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -378,12 +378,13 @@ main(int argc, char **argv) options_set_number(&global_w_options, "clock-mode-style", 1); options_set_number(&global_w_options, "force-height", 0); options_set_number(&global_w_options, "force-width", 0); - options_set_number(&global_w_options, "mode-attr", GRID_ATTR_REVERSE); options_set_number(&global_w_options, "main-pane-width", 81); options_set_number(&global_w_options, "main-pane-height", 24); + options_set_number(&global_w_options, "mode-attr", GRID_ATTR_REVERSE); options_set_number(&global_w_options, "mode-bg", 3); options_set_number(&global_w_options, "mode-fg", 0); options_set_number(&global_w_options, "mode-keys", MODEKEY_EMACS); + options_set_number(&global_w_options, "mode-mouse", 1); options_set_number(&global_w_options, "monitor-activity", 0); options_set_string(&global_w_options, "monitor-content", "%s", ""); if (flags & IDENTIFY_UTF8) |