Pane.SetHooks
SetHooks applies indexed pane hook commands in ascending order at this handle's exact pane target. With ClearExisting it confirms clearing first, 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.Pane. Set Hooks - Package
- tmux
- Declared in
Pane- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/hook_runtime.go
- func (p Pane) SetHooks( ctx context
.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.