mirror of
https://github.com/tmux/tmux.git
synced 2025-09-05 08:07:03 +00:00
Sync OpenBSD patchset 844:
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:
11
tmux.1
11
tmux.1
@ -1,4 +1,4 @@
|
||||
.\" $Id: tmux.1,v 1.294 2011-01-21 23:53:45 tcunha Exp $
|
||||
.\" $Id: tmux.1,v 1.295 2011-01-21 23:55:26 tcunha Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
.\"
|
||||
@ -595,6 +595,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 )
|
||||
@ -608,6 +610,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
|
||||
|
Reference in New Issue
Block a user