Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

pane.Pane.setHook

TypeScript

View as Markdown

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>
method [source]
method [source]
setHook

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

0 declared, 0 inherited

Esc

Type to search.