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.at

The member at index, or undefined when the index is out of range.

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

Examples#

snapshot.windows.at(0)?.name;
snapshot.windows.at(-1)?.name; // counts from the end
Type parameters
Parameters
Esc

Type to search.

Reference previewOpen reference