libtmux Reference MCP Search
On this page

tmux.GlobalSessionScope.SetHooks

View as Markdown

Module
tmux
Declared in
GlobalSessionScope
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)
method [source]
method [source]
SetHooks

SetHooks applies indexed global session-scope hook commands in ascending order. With ClearExisting it confirms clearing before applying sparse Values. It stops at the first failure without rollback; the returned result reports only confirmed partial progress and owns AppliedIndices. Cancellation may follow accepted commands and cannot disprove their delivery.

0 declared, 0 inherited

Esc

Type to search.