Pane.showHooks
Read hooks set on this pane itself.
Source and package
-
Examples#
const hooks = await pane.showHooks();hooks.get("pane-title-changed")?.[0];
tmux command#
The tmux commands behind showHooks.
tmux C API#
The C declarations in tmux that implement these commands.
tmux hooks#
Events that run tmux commands, with the scope each hook belongs to and where tmux fires it.
Guides#
Pages that discuss showHooks.
In other ports#
Read a pane's hooks
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| Lua | libtmux |
| Rust | no whole-table read; Pane.hook reads one |
| Go | tmux |
| Java | io |
| C# | Lib |
| C++ | no equivalent on Pane |
| Swift | Server |
No equivalent is recorded in PowerShell, Julia, Elixir, Kotlin, Scala or F#.