summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2011-01-14 23:49:23 +0000
committerNicholas Marriott <nicm@openbsd.org>2011-01-14 23:49:23 +0000
commit4f34e25dd867e30652682d9aac01d8b1af220fa6 (patch)
tree864efa4c724a6d295c4dbd7437db2677a62fb843 /tmux.1
parent9ad9e8c5dded2e9134a8386bacd1ddd6625e07d1 (diff)
Support -x and -y for new-session to specify the initial size of the
window if created detached with -d.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.19
1 files changed, 9 insertions, 0 deletions
diff --git a/tmux.1 b/tmux.1
index a20b8341..36253d17 100644
--- a/tmux.1
+++ b/tmux.1
@@ -591,6 +591,8 @@ Lock all clients attached to
.Op Fl n Ar window-name
.Op Fl s Ar session-name
.Op Fl t Ar target-session
+.Op Fl x Ar width
+.Op Fl y Ar height
.Op Ar shell-command
.Xc
.D1 (alias: Ic new )
@@ -604,6 +606,13 @@ is given.
and
.Ar shell-command
are the name of and shell command to execute in the initial window.
+If
+.Fl d
+is used,
+.Fl x
+and
+.Fl y
+specify the size of the initial window (80 by 24 if not given).
.Pp
If run from a terminal, any
.Xr termios 4