libtmux Reference MCP Search
On this page

session.Session.active_window

View as Markdown

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

Return the session's active window.

Errors

Returns an error when the window listing fails. A session always has an active window, so Ok(None) means the session disappeared between the snapshot and this call.

Discussed in Traversal

In other languages The session's active window

0 declared, 0 inherited

Esc

Type to search.