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

window.Window.setHook

TypeScript

View as Markdown

Module
window
Declared in
Window
Package
libtmux
Source
packages/libtmux/src/window.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 window-scoped hook.

Examples

await window.setHook("window-renamed", "display-message 'renamed'");
In other ports Bind a command to a window hook

0 declared, 0 inherited

Esc

Type to search.