libtmux Reference MCP Search
On this page

selection.Selection.count

View as Markdown

Module
selection
Declared in
Selection
Package
@libtmux/libtmux
Source
packages/libtmux/src/selection.ts
count ( criteria : : WhereOf<Model> ) number
method [source]
method [source]
count

How many members match criteria, or how many there are without it.

Examples

snapshot.panes.count(); // every pane
snapshot.panes.count({ currentCommand: "vim" });

0 declared, 0 inherited

Esc

Type to search.