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

Go API

Go documentation

tmux.Window.LastPane

Go

View as Markdown

Module
tmux
Declared in
Window
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/window_pane_topology.go
Other languages
Python Ruby Lua TypeScript Rust Java .NETC++Swift
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.

In other ports Return to the pane that was active before

0 declared, 0 inherited

Esc

Type to search.