- Module
- tmux
- Declared in
- Window
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/hook_runtime.go
- Other languages
- PythonRubyLuaTypeScript Rust Java.NET C++ Swift
- Hooks ( ctx : context.Context ) (WindowHookValues, error)
-
Hooks returns a freshly decoded, caller-owned view of known hooks at this exact window target, including inherited values. The receiver's exact linked session context controls tmux format evaluation. A read failure is returned rather than answered with zero values.
In other ports Read a window's hooks
- Python
libtmux.Window.show_hooks - Ruby
LibTmux::Window#hooks - Lua
libtmux.Window:list_hooks - TypeScript
window.Window.showHooks - Rust no whole-table read;
Window.hookreads one - Java
io.github.libtmux.Window.Window.hooks - .NET
LibTmux.Window.Hooks - C++ no equivalent on
Window - Swift
Server.hooks(_:)
- Python
0 declared, 0 inherited