libtmux Reference MCP Search
On this page

tmux.Snapshot.WindowByID

View as Markdown

Module
tmux
Declared in
Snapshot
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/snapshot.go
WindowByID ( id : WindowID ) (Window, error)
method [source]
method [source]
WindowByID

WindowByID returns the sole winlink view with id. Linked sessions can make an ID ambiguous, so it can return a SnapshotLookupError matching ErrSnapshotAmbiguous. It never queries tmux.

0 declared, 0 inherited

Esc

Type to search.