summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2021-08-27 17:15:57 +0000
committernicm <nicm>2021-08-27 17:15:57 +0000
commitfd756a150b43d319d08ac4117f34edef9e0438c4 (patch)
tree003f77b6051466412eba1fa0260b9e95c89e3923 /tmux.1
parent24636be42b4b0463afe5c72e1d982f28729a0579 (diff)
Allow control mode clients to set a hard limit on the window width and
height, GitHub issue 2594.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.114
1 files changed, 12 insertions, 2 deletions
diff --git a/tmux.1 b/tmux.1
index 28c54905..d48415fe 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1331,7 +1331,7 @@ specified multiple times.
.Op Fl cDlLRSU
.Op Fl A Ar pane:state
.Op Fl B Ar name:what:format
-.Op Fl C Ar XxY
+.Op Fl C Ar size
.Op Fl f Ar flags
.Op Fl t Ar target-client
.Op Ar adjustment
@@ -1375,7 +1375,17 @@ window, changing the current window in the attached session will reset
it.
.Pp
.Fl C
-sets the width and height of a control mode client.
+sets the width and height of a control mode client or of a window for a
+control mode client,
+.Ar size
+must be one of
+.Ql widthxheight
+or
+.Ql window ID:widthxheight ,
+for example
+.Ql 80x24
+or
+.Ql @0:80x24 .
.Fl A
allows a control mode client to trigger actions on a pane.
The argument is a pane ID (with leading