Extend the mode-mouse option to add a third choice which means the mouse

does not enter copy mode. Patch from SF bug 3374493.

In future the mode-mouse option is likely to die and be broken into
several smaller options.
This commit is contained in:
Nicholas Marriott
2011-07-30 18:01:26 +00:00
parent be179f6d7e
commit cc5bcbfb59
3 changed files with 14 additions and 3 deletions

7
tmux.1
View File

@ -2358,12 +2358,17 @@ contains
.Ql vi .
.Pp
.It Xo Ic mode-mouse
.Op Ic on | off
.Op Ic on | off | copy-mode
.Xc
Mouse state in modes.
If on, the mouse may be used to enter copy mode and copy a selection by
dragging, to enter copy mode and scroll with the mouse wheel, or to select an
option in choice mode.
If set to
.Em
copy-mode ,
the mouse behaves as set to on, but cannot be used to enter copy
mode.
.Pp
.It Xo Ic monitor-activity
.Op Ic on | off