Support -x and -y for new-session to specify the initial size of the

window if created detached with -d.
This commit is contained in:
Nicholas Marriott
2011-01-14 23:49:23 +00:00
parent 9ad9e8c5dd
commit 4f34e25dd8
2 changed files with 33 additions and 3 deletions

9
tmux.1
View File

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