summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2020-04-22 06:57:14 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2020-04-22 06:57:14 +0000
commit1c6d9cb48f811bc48f63028132c388723be36cbe (patch)
tree06893614d53036dc1cb1a63a9153e1a68c8eb39f /usr.bin/tmux/tmux.1
parent0744f161eaf998420a541ce310b02cb5d5387e5f (diff)
Change so main-pane-width and height can be given as a percentage.
Diffstat (limited to 'usr.bin/tmux/tmux.1')
-rw-r--r--usr.bin/tmux/tmux.110
1 files changed, 8 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index fdd0241b803..3a9db7dd716 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.746 2020/04/20 14:59:31 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.747 2020/04/22 06:57:13 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
.\"
@@ -14,7 +14,7 @@
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: April 20 2020 $
+.Dd $Mdocdate: April 22 2020 $
.Dt TMUX 1
.Os
.Sh NAME
@@ -3711,6 +3711,9 @@ Set the width or height of the main (left or top) pane in the
or
.Ic main-vertical
layouts.
+If suffixed by
+.Ql % ,
+this is a percentage of the window size.
.Pp
.It Xo Ic mode-keys
.Op Ic vi | emacs
@@ -3764,6 +3767,9 @@ 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.
+If suffixed by
+.Ql % ,
+this is a percentage of the window size.
.Pp
.It Ic other-pane-width Ar width
Like