libtmux Reference MCP Search
On this page

tmux.Session.PreviousWindow

View as Markdown

Module
tmux
Declared in
Session
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/session_navigation.go
PreviousWindow ( ctx : context.Context ) (Window, error)
method [source]
method [source]
PreviousWindow

PreviousWindow makes the previous winlink current in the receiver session 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.

0 declared, 0 inherited

Esc

Type to search.