libtmux Reference MCP Search
On this page

tmux.Window.LastPane

View as Markdown

Module
tmux
Declared in
Window
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/window_pane_topology.go
LastPane ( ctx : context.Context , request : LastPaneRequest ) (Pane, error)
method [source]
method [source]
LastPane

LastPane targets the receiver's exact winlink. Its zero request makes the previously active pane active without selecting the window in its session. With an Input mode, tmux changes the previous pane's input state without selecting it; the returned Pane is still the freshly materialized active pane in the receiver context.

Command or refresh failures return zero because the active view needs refresh.

0 declared, 0 inherited

Esc

Type to search.