On this page
tmux.Session.SetUpdateEnvironment
- Module
- tmux
- Declared in
- Session
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/option_generated.go
- SetUpdateEnvironment ( ctx : context.Context , value : SparseArray[string] ) (SetArrayResult, error)
-
SetUpdateEnvironment replaces the complete "update-environment" session option array with SparseArray
string, preserving holes and empty values (tmux 3.2a or later). Read it withSessionOptionValues.UpdateEnvironmentfromSession.Options;Session.UnsetOptionrestores inheritance or the global default. Replacement is not atomic: the result reports confirmed writes, and failures stop without rollback. Serialize concurrent replacement of the same target and option.
0 declared, 0 inherited