libtmux Reference MCP Search
On this page

tmux.Pane.SetHook

View as Markdown

Module
tmux
Declared in
Pane
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/hook_runtime.go
SetHook ( ctx : context.Context , name : string , command : string ) error
method [source]
method [source]
SetHook

SetHook stores a pane hook at this exact pane target without refreshing models. Completed failures are secret-safe option errors; cancellation does not prove tmux did not accept the mutation.

Discussed in Options and hooks

0 declared, 0 inherited

Esc

Type to search.