tmux.Session.LastWindow
- Module
- tmux
- Declared in
- Session
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/session_navigation.go
- Other languages
- Python Ruby Lua TypeScript RustJava.NETC++Swift
- LastWindow ( ctx : context.Context ) (Window, error)
-
LastWindow makes the receiver session's previously selected winlink current and returns that freshly materialized session-specific
Window. The selection is session-scoped; it does not promise focus for clients attached to other sessions. A transport or context error can be delivery-ambiguous and no rollback is attempted. Command or refresh failure returns a zero Window because this navigation operation cannot identify the selected view reliably without refresh.In other ports Return to the window that was active before
- Python
libtmux.Session.last_window - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript
Session.selectWindowtakesnext,previousorlast - Rust
session.Session.last_window - Java
io.github.libtmux.Session.Session.lastWindow - .NET
LibTmux.Session.SelectLastWindowAsync - C++
libtmux::Session::select_last_window - Swift
Server.selectLastWindow(in:)
- Python
0 declared, 0 inherited