libtmux Reference MCP Search
On this page

session.Session.windows

View as Markdown

Module
session
Declared in
Session
Package
@libtmux/libtmux
Source
packages/libtmux/src/session.ts
Other languages
PythonRustGoJava.NETC++Swift
windows ( ) Selection<Window>
method [source]
method [source]
windows

Windows placed in this session, in listing order.

Resolved from the graph this handle was materialized against, so it issues no tmux command and reports the instant the handle came from.

Examples

session.windows.count();
session.windows.where({ name: "editor" }).first();

Discussed in Traversal

In other languages List a session's windows

0 declared, 0 inherited

Esc

Type to search.