Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-go latest

GlobalSessionScope.SetDetachOnDestroy

SetDetachOnDestroy stores the "detach-on-destroy" session option as DetachOnDestroy. Read it with SessionOptionValues.DetachOnDestroy from GlobalSessionScope.Options; GlobalSessionScope.UnsetOption restores inheritance or the global default.

Source and package
Qualified name
tmux.GlobalSessionScope.SetDetachOnDestroy
Package
tmux
Declared in
GlobalSessionScope
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/option_generated.go
Esc

Type to search.

Reference previewOpen reference