Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

session.Session.windows

View as Markdown

Module
session
Declared in
Session
Package
libtmux
Source
packages/libtmux/src/session.ts
Other languages
PythonRuby Lua RustGoJava.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 ports List a session's windows

0 declared, 0 inherited

Esc

Type to search.