Change so main-pane-width and height can be given as a percentage.

This commit is contained in:
nicm
2020-04-22 06:57:13 +00:00
parent 445dfa8512
commit de5163a634
5 changed files with 66 additions and 36 deletions

6
tmux.1
View File

@ -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