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

Go API

Go documentation

tmux.Session.LastWindow

Go

View as Markdown

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)
method [source]
method [source]
LastWindow

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

0 declared, 0 inherited

Esc

Type to search.