libtmux Reference MCP Search
On this page

tmux.SessionOptionValues.DetachOnDestroy

View as Markdown

Module
tmux
Declared in
SessionOptionValues
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/option_generated.go
DetachOnDestroy ( ) OptionValue[DetachOnDestroy]
method [source]
method [source]
DetachOnDestroy

DetachOnDestroy returns materialized "detach-on-destroy" as OptionValue with value type OptionValue DetachOnDestroy from session option values; it does not query tmux. Available as CHOICE since tmux 3.2a (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 .

0 declared, 0 inherited

Esc

Type to search.