On this page
pane.Pane.setHook
- Module
- pane
- Declared in
- Pane
- Package
- @libtmux/libtmux
- Source
- packages/libtmux/src/pane.ts
- 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
0 declared, 0 inherited