pane.Pane.setHook
- Module
- pane
- Declared in
- Pane
- Package
- libtmux
- Source
- packages/libtmux/src/pane.ts
- Other languages
- Python Ruby LuaRustGo Java .NET C++ Swift
- setHook ( name : : string , command : : string , options : : SetHookOptions ) Promise<void>
-
Bind a tmux command to a pane-scoped hook.
Examples
await pane.setHook("pane-title-changed", "display-message 'title changed'");Discussed in Options and hooks
In other ports Bind a command to a pane hook
- Python
libtmux.Pane.set_hook - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua
libtmux.Pane:set_hook - Rust
pane.Pane.set_hook - Go
tmux.Pane.SetHook - Java reached through
Pane.hooks, whoseHookscarries the write - .NET reached through
Pane.Hooks, whoseTmuxHookscarries the write - C++ no equivalent on
Pane - Swift
Server.setHook(_:to:at:in:)
- Python
0 declared, 0 inherited