SessionOptionValues.DetachOnDestroy
DetachOnDestroy returns materialized "detach-on-destroy" as OptionValue with value type OptionValueDetachOnDestroy from session option values; it does not query tmux. Available as CHOICE (choices: "off", "on", "no-detached"); CHOICE since tmux 3.4 (choices: "off", "on", "no-detached", "previous", "next"); set it with Session.SetDetachOnDestroy or GlobalSessionScope.SetDetachOnDestroy.
Source and package
- Qualified name
-
tmux.Session Option Values. Detach On Destroy - Package
- tmux
- Declared in
SessionOptionValues- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/option_generated.go
- func ( v Session
Option , ) DetachOnDestroy() OptionValues Value [DetachOn ]Destroy
tmux options#
Settings for the server, sessions, windows and panes, with their types, defaults and allowed values.