Sync OpenBSD patchset 373:

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.
This commit is contained in:
Tiago Cunha
2009-10-11 23:46:02 +00:00
parent 2486a36af3
commit ea1721bcb0
6 changed files with 48 additions and 9 deletions

12
tmux.1
View File

@ -1,4 +1,4 @@
.\" $Id: tmux.1,v 1.183 2009-10-11 23:38:16 tcunha Exp $
.\" $Id: tmux.1,v 1.184 2009-10-11 23:46:02 tcunha Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@ -1292,7 +1292,7 @@ with
.Op Ic on | off
.Xc
If this option is
.Ic on
.Ic on
(the default),
instead of each session locking individually as each has been
idle for
@ -1336,6 +1336,14 @@ from the 256-colour palette, or
.Ic default .
.It Ic message-fg Ar colour
Set status line message foreground colour.
.It Xo Ic mouse-select-pane
.Op Ic on | off
.Xc
If on,
.Nm
captures the mouse and when a window is split into multiple panes the mouse may
be used to select the current pane.
The mouse click is also passed through to the application as normal.
.It Ic prefix Ar keys
Set the keys accepted as a prefix key.
.Ar keys