GlobalSessionScope.SetStatusFormat
SetStatusFormat replaces the complete "status-format" session option array with SparseArraystring, preserving holes and empty values. Read it with SessionOptionValues.StatusFormat from GlobalSessionScope.Options; GlobalSessionScope.UnsetOption restores 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.
Source and package
- Qualified name
-
tmux.Global Session Scope. Set Status Format - Package
- tmux
- Declared in
GlobalSessionScope- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/option_generated.go
- func (s Global
Session ) SetStatusFormat( ctx contextScope .Context , value SparseArray [string], ) (SetArray , error)Result -
- Parameters
-
-
value(SparseArray [string]) #