libtmux Reference MCP Search
On this page

tmux.Pane.SetHooks

View as Markdown

Module
tmux
Declared in
Pane
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 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.

Discussed in Options and hooks

0 declared, 0 inherited

Esc

Type to search.