GlobalSessionScope.SetLockCommand
SetLockCommand stores the "lock-command" session option as string. Read it with SessionOptionValues.LockCommand from GlobalSessionScope.Options; GlobalSessionScope.UnsetOption restores inheritance or the global default.
Source and package
- Qualified name
-
tmux.Global Session Scope. Set Lock Command - Package
- tmux
- Declared in
GlobalSessionScope- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/option_generated.go
- func (s Global
Session ) SetLockCommand( ctx contextScope .Context , value string, ) error