tmuxtmuxOptions, hooks and formats

Choose documentation 1

3.2a

tmux catalog version

Latest (3.7c) 3.7c 3.2a
English

option tmux3.2a

destroy-unattached

If enabled and the session is no longer attached to any clients, it is destroyed.

Scope
session
Type
Flag (on or off)
Default
off
Set
set-option destroy-unattached value
Read
show-options destroy-unattached

Description#

If enabled and the session is no longer attached to any clients, it is destroyed.

Releases#

  • tmux 3.7c : type flag to choice; values now off, on, keep-last, keep-group
  • tmux 3.2a : present

Source#

Defined in
options-table.c:405
C source reference
options_table
CLI Manual
Original manual entry

Used by#

Library documentation that names this option.

Rust
options.generated.DESTROY_UNATTACHED
Go
tmux.Connection, tmux.DestroyUnattached, tmux.GlobalSessionScope.SetDestroyUnattached, tmux.Session.SetDestroyUnattached, tmux.SessionOptionValues.DestroyUnattached
C#
LibTmux.Session.HoldWaitClientAsync
Esc

Type to search.

Reference preview Open reference