libtmux Reference MCP Search
On this page

tmux.Session.SelectWindow

View as Markdown

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

SelectWindow makes one winlink current in the receiver session and returns that freshly materialized session-specific Window . WindowID is combined with the receiver SessionID, because a WindowID alone does not distinguish linked views. The selection is session-scoped; it does not promise focus for clients attached to other sessions.

Command or refresh failures return zero because the selected view cannot be identified without refresh. Transport errors are delivery-ambiguous.

0 declared, 0 inherited

Esc

Type to search.