On this page
window.Window.cmd
- Module
- window
- Declared in
- Window
- Package
- @libtmux/libtmux
- Source
- packages/libtmux/src/window.ts
-
Run a tmux command this package does not model, addressed at this window.
The window's id is sent as the target; pass
targetto address something else, ornullfor a command that takes none —display-panestakes a client, so it wants{ target: null }and not this window's@n.Examples
await window.cmd("rotate-window");
0 declared, 0 inherited