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.

interface libtmux-ts latest

ServerSnapshot

An immutable view of the server at one instant.

Source and package
Qualified name
ServerSnapshot
Module
types
Package
libtmux
Source
packages/libtmux/src/types.ts
interface types.ServerSnapshot

Description#

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" } } });

Members5#

Collections and queries4#

Other members1#

Guides#

Pages that discuss ServerSnapshot.

Esc

Type to search.

Reference previewOpen reference