GlobalWindowScope.SetHooks
SetHooks applies indexed global window-hook commands in ascending order. With ClearExisting it confirms clearing before applying sparse Values, stops at the first failure without rollback, and reports confirmed progress. Cancellation may follow accepted commands and cannot disprove their delivery.
Source and package
- Qualified name
-
tmux.Global Window Scope. Set Hooks - Package
- tmux
- Declared in
GlobalWindowScope- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/hook_runtime.go
- func (s Global
Window ) SetHooks( ctx contextScope .Context , name string, values SparseArray [string], options SetHooks , ) (SetOptions Hooks , error)Result -
- Parameters
-
-
values(SparseArray [string]) #
tmux command#
The tmux commands behind SetHooks.
tmux C API#
The C declarations in tmux that implement these commands.