Pane.SetPaneColours
SetPaneColours replaces the complete "pane-colours" pane option array with SparseArraystring, preserving holes and empty values. Read it with PaneOptionValues.PaneColours from Pane.Options; Pane.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.Pane. Set Pane Colours - Package
- tmux
- Declared in
Pane- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/option_generated.go
- func (p Pane) SetPaneColours( ctx context
.Context , value SparseArray [string], ) (SetArray , error)Result -
- Parameters
-
-
value(SparseArray [string]) #