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

session.Session.last_window

View as Markdown

Module
session
Declared in
Session
Package
libtmux
Source
crates/libtmux/src/session.rs
Other languages
Python TypeScript GoJava.NETC++Swift
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.

In other ports Return to the window that was active before

0 declared, 0 inherited

Esc

Type to search.