libtmux Reference MCP Search
On this page

tmux.Window.SelectPane

View as Markdown

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

SelectPane makes an exact or relative pane active in the receiver's exact winlink without selecting the window in its session. Target must belong to that same SessionID and WindowID; a PaneID alone does not identify a linked view. The returned Pane is the freshly materialized active pane in the receiver context, not a canonical ID-only view.

Command or refresh failures return zero because active-pane selection has no reliable partial identity. Transport errors are delivery-ambiguous.

0 declared, 0 inherited

Esc

Type to search.