Sync OpenBSD patchset 191:

If select-layout is not given an argument, reapply the last layout used in the
window, if any.
This commit is contained in:
Tiago Cunha
2009-07-28 23:04:29 +00:00
parent 1c73e75982
commit d9dcc5ed44
6 changed files with 48 additions and 30 deletions

7
tmux.1
View File

@ -1,4 +1,4 @@
.\" $Id: tmux.1,v 1.132 2009-07-28 22:44:38 tcunha Exp $
.\" $Id: tmux.1,v 1.133 2009-07-28 23:04:29 tcunha Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@ -1064,10 +1064,13 @@ has the same meaning as in the
command.
.It Xo Ic select-layout
.Op Fl t Ar target-window
.Ar layout-name
.Op Ar layout-name
.Xc
.D1 (alias: selectl )
Choose a specific layout for a window.
If
.Ar layout-name
is not given, the last layout used (if any) is reapplied.
.It Xo Ic select-pane
.Op Fl p Ar pane-index
.Op Fl t Ar target-window