libtmux Reference MCP Search
On this page

session.Session.last_window

View as Markdown

Module
session
Declared in
Session
Package
libtmux
Source
crates/libtmux/src/session.rs
last_window ( self ) Result<Option<Window>, Error>
method [source]
method [source]
last_window

Move to the window that was active before this one, and return it.

None when nothing else has been active yet; see Self::next_window.

Errors

Returns an error when tmux cannot be reached or refuses the move.

0 declared, 0 inherited

Esc

Type to search.