Session.SetDetachOnDestroy
SetDetachOnDestroy stores the "detach-on-destroy" session option as DetachOnDestroy. Read it with SessionOptionValues.DetachOnDestroy from Session.Options; Session.UnsetOption restores inheritance or the global default.
Source and package
- Qualified name
-
tmux.Session. Set Detach On Destroy - Package
- tmux
- Declared in
Session- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/option_generated.go
- func (s Session) SetDetachOnDestroy( ctx context
.Context , value DetachOn , ) errorDestroy -
- Parameters