libtmux Reference MCP Search
On this page

tmux.GlobalSessionScope.RawHook

View as Markdown

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

RawHook returns one exact global session-scope hook value. A successful string is caller-owned; ok reports presence. Targeted reads do not use list leniency, and completed failures return a secret-safe option error. An unindexed empty hook array is ambiguous; use Hooks for typed presence.

0 declared, 0 inherited

Esc

Type to search.