Sync OpenBSD patchset 799:

Add other-pane-height and other-pane-width options, allowing the width
or height of the smaller panes in the main-horizontal and main-vertical
layouts to be set. Mostly from David Goodlad.
This commit is contained in:
Tiago Cunha
2010-12-22 15:23:59 +00:00
parent cd92f44686
commit d1bdc9a161
4 changed files with 51 additions and 8 deletions

21
tmux.1
View File

@ -1,4 +1,4 @@
.\" $Id: tmux.1,v 1.277 2010-12-11 18:42:20 nicm Exp $
.\" $Id: tmux.1,v 1.278 2010-12-22 15:23:59 tcunha Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@ -2199,6 +2199,25 @@ Windows that have been silent for the interval are highlighted in the
status line.
An interval of zero disables the monitoring.
.Pp
.It Ic other-pane-height Ar height
Set the height of the other panes (not the main pane) in the
.Ic main-horizontal
layout.
If this option is set to 0 (the default), it will have no effect.
If both the
.Ic main-pane-height
and
.Ic other-pane-height
options are set, the main pane will grow taller to make the other panes the
specified height, but will never shrink to do so.
.Pp
.It Ic other-pane-width Ar width
Like
.Ic other-pane-height ,
but set the width of other panes in the
.Ic main-vertical
layout.
.Pp
.It Xo Ic remain-on-exit
.Op Ic on | off
.Xc