Server.SetUserKeys
SetUserKeys replaces the complete "user-keys" server option array with SparseArraystring, preserving holes and empty values. Read it with ServerOptionValues.UserKeys from Server.Options; Server.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.Server. Set User Keys - Package
- tmux
- Declared in
Server- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/option_generated.go
- func (s Server) SetUserKeys( ctx context
.Context , value SparseArray [string], ) (SetArray , error)Result -
- Parameters
-
-
value(SparseArray [string]) #