summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2019-09-19 09:02:30 +0000
committernicm <nicm>2019-09-19 09:02:30 +0000
commit647887b794c00285047aa54ac0d44ae50c7847d7 (patch)
treec173a9c9f68dd40248df0b0685189241c074ec4d /tmux.1
parentd01847735903496c25e1d24375b911edffa56ef8 (diff)
Add a "latest" window-size option which tries to size windows based on
the most recently used client. From Tommie Gannert in GitHub issue 1869 based on earlier changes from me.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.16
1 files changed, 5 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index c99e506c..ff19c225 100644
--- a/tmux.1
+++ b/tmux.1
@@ -3659,7 +3659,7 @@ see the
section.
.Pp
.It Xo Ic window-size
-.Ar largest | Ar smallest | Ar manual
+.Ar largest | Ar smallest | Ar manual | Ar latest
.Xc
Configure how
.Nm
@@ -3674,6 +3674,10 @@ If
the size of a new window is set from the
.Ic default-size
option and windows are resized automatically.
+With
+.Ar latest ,
+.Nm
+uses the size of the client that had the most recent activity.
See also the
.Ic resize-window
command and the