libtmux Reference MCP Search
On this page

types.ServerSnapshot

View as Markdown

Module
types
Package
@libtmux/libtmux
Source
packages/libtmux/src/types.ts
interface types.ServerSnapshot
interface [source]
interface [source]
interface types.ServerSnapshot

An immutable view of the server at one instant.

windows and panes hold placements rather than distinct objects. A window linked into two sessions, or shared by two grouped sessions, is one window that appears once per session — so these count places a thing is, and an id matches every placement of it. Narrow with the session to reach one:

Examples

snapshot.panes.one({ id: "%1", session: { is: { name: "work" } } });

Discussed in Waiting and retrying

4 declared, 0 inherited

Members

Esc

Type to search.