On this page
tmux.GlobalWindowScope.SetHooks
- Module
- tmux
- Declared in
- GlobalWindowScope
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/hook_runtime.go
- SetHooks ( ctx : context.Context , name : string , values : SparseArray[string] , options : SetHooksOptions ) (SetHooksResult, error)
-
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.
0 declared, 0 inherited