summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2024-02-13 10:01:10 +0000
committerThomas Adam <thomas@xteddy.org>2024-02-13 10:01:10 +0000
commit0960862950476a5a519905487d731a8b843d07c2 (patch)
tree72b24ad259c3e0c78f1cf166b35b60e718240eab /tmux.1
parent44ad25b3673cf9fddc92ed122e51cd9beb50d4f7 (diff)
parent40b97b1715182b0ab0274b0c402b34e2cba98f04 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.116
1 files changed, 13 insertions, 3 deletions
diff --git a/tmux.1 b/tmux.1
index 10f73176..9c028352 100644
--- a/tmux.1
+++ b/tmux.1
@@ -4026,10 +4026,20 @@ The value is the width and height separated by an
character.
The default is 80x24.
.It Xo Ic destroy-unattached
-.Op Ic on | off
+.Op Ic off | on | keep-last | keep-group
.Xc
-If enabled and the session is no longer attached to any clients, it is
-destroyed.
+If
+.Ic on ,
+destroy the session after the last client has detached.
+If
+.Ic off
+(the default), leave the session orphaned.
+If
+.Ic keep-last ,
+destroy the session only if it is in a group and has other sessions in that group.
+If
+.Ic keep-group ,
+destroy the session unless it is in a group and is the only session in that group.
.It Xo Ic detach-on-destroy
.Op Ic off | on | no-detached | previous | next
.Xc