diff options
author | nicm <nicm> | 2021-02-01 08:01:14 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-02-01 08:01:14 +0000 |
commit | 509221520c87510016f5c90aeea0d4dcc4b74a98 (patch) | |
tree | a006a5c8f78a2f0c725f9c11335fed1a21e8fb54 /tmux.1 | |
parent | 255802d8d7357bf985bf2e4221eac8ab64b348ea (diff) | |
download | rtmux-509221520c87510016f5c90aeea0d4dcc4b74a98.tar.gz rtmux-509221520c87510016f5c90aeea0d4dcc4b74a98.tar.bz2 rtmux-509221520c87510016f5c90aeea0d4dcc4b74a98.zip |
Add a no-detached choice to detach-on-destroy which detaches only if
there are no other detached sessions to switch to, from Sencer Selcuk in
GitHub issue 2553.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -3575,12 +3575,16 @@ 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 on | off +.Op Ic off | on | no-detached .Xc If 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 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. .It Ic display-panes-active-colour Ar colour Set the colour used by the .Ic display-panes |