SessionOptionValues.DestroyUnattached
DestroyUnattached returns materialized "destroy-unattached" as OptionValue with value type OptionValueDestroyUnattached from session option values; it does not query tmux. Available as FLAG; CHOICE since tmux 3.4 (choices: "off", "on", "keep-last", "keep-group"); set it with Session.SetDestroyUnattached or GlobalSessionScope.SetDestroyUnattached.
Source and package
- Qualified name
-
tmux.Session Option Values. Destroy Unattached - Package
- tmux
- Declared in
SessionOptionValues- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/option_generated.go
- func ( v Session
Option , ) DestroyUnattached() OptionValues Value [DestroyUnattached ]
tmux options#
Settings for the server, sessions, windows and panes, with their types, defaults and allowed values.