libtmux Reference MCP Search
On this page

pane.Pane.cmd

View as Markdown

Module
pane
Declared in
Pane
Package
@libtmux/libtmux
Source
packages/libtmux/src/pane.ts
cmd ( command : : string , args : : readonly string[] = [] , options : : CmdOptions ) Promise<readonly string[]>
method [source]
method [source]
cmd

Run a tmux command this package does not model, addressed at this pane.

The pane's id is sent as the target; pass target to address something else, or null for a command that takes none.

Examples

await pane.cmd("clock-mode");

0 declared, 0 inherited

Esc

Type to search.