Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-ts latest

Selection.count

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

Source and package
Qualified name
Selection.count
Module
selection
Declared in
Selection
Package
libtmux
Source
packages/libtmux/src/selection.ts

Examples#

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

Type to search.

Reference previewOpen reference