mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-17 00:51:36 +02:00
Add a -k flag to unlink-window which makes it behave the same as the old
kill-window - if a window is linked into only one session it unlinked and destroyed.
This commit is contained in:
11
tmux.1
11
tmux.1
@ -1555,13 +1555,20 @@ to
|
||||
Unbind the key bound to
|
||||
.Ar key .
|
||||
.It Xo Ic unlink-window
|
||||
.Op Fl k
|
||||
.Op Fl t Ar target-window
|
||||
.Xc
|
||||
.D1 (alias: Ic unlinkw )
|
||||
Unlink
|
||||
.Ar target-window .
|
||||
A window may be unlinked only if it is linked to multiple sessions - windows may
|
||||
not be linked to no sessions.
|
||||
Unless
|
||||
.Fl k
|
||||
is given, a window may be unlinked only if it is linked to multiple sessions -
|
||||
windows may not be linked to no sessions;
|
||||
if
|
||||
.Fl k
|
||||
is specified and the window is linked to only one session, it is unlinked and
|
||||
destroyed.
|
||||
.It Xo Ic up-pane
|
||||
.Op Fl p Ar pane-index
|
||||
.Op Fl t Ar target-window
|
||||
|
Reference in New Issue
Block a user