summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2023-09-01 17:06:27 +0100
committerThomas Adam <thomas@xteddy.org>2023-09-01 17:06:27 +0100
commit1aec420465eab1cf6e4666851f950621e006b26d (patch)
treebe86e9bbe9a07d46a047611542581b87b1d5e9ee /tmux.1
parentd682ef88e6eab4d256adf441d29f8e873ea292da (diff)
parent9456258ccc03a1a959cfb7d020011d751b39bb1b (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.115
1 files changed, 12 insertions, 3 deletions
diff --git a/tmux.1 b/tmux.1
index 4d3cae32..366fc51b 100644
--- a/tmux.1
+++ b/tmux.1
@@ -4042,16 +4042,25 @@ The default is 80x24.
If enabled and the session is no longer attached to any clients, it is
destroyed.
.It Xo Ic detach-on-destroy
-.Op Ic off | on | no-detached
+.Op Ic off | on | no-detached | previous | next
.Xc
-If on (the default), the client is detached when the session it is attached to
+If
+.Ic on
+(the default), the client is detached when the session it is attached to
is destroyed.
-If off, the client is switched to the most recently active of the remaining
+If
+.Ic off ,
+the client is switched to the most recently active of the remaining
sessions.
If
.Ic no-detached ,
the client is detached only if there are no detached sessions; if detached
sessions exist, the client is switched to the most recently active.
+If
+.Ic previous
+or
+.Ic next ,
+the client is switched to the previous or next session in alphabetical order.
.It Ic display-panes-active-colour Ar colour
Set the colour used by the
.Ic display-panes