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