libtmux Reference MCP Search
On this page

session.Session.windows

View as Markdown

Module
session
Declared in
Session
Package
libtmux
Source
crates/libtmux/src/session.rs
Other languages
PythonTypeScriptGoJava.NETC++Swift
windows ( self ) Result<Vec<Window>, Error>
method [source]
method [source]
windows

List the windows linked into this session, preserving any failure.

A window linked into other sessions appears here once, under this session's own index for it.

Errors

Returns an error when the list command cannot run, or when its output cannot be decoded into snapshots.

Discussed in Traversal

In other languages List a session's windows

0 declared, 0 inherited

Esc

Type to search.