Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-go latest

Snapshot.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.

Source and package
Qualified name
tmux.Snapshot.WindowByID
Package
tmux
Declared in
Snapshot
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/snapshot.go
func (s Snapshot) WindowByID(id WindowID) (Window, error)
Parameters

Guides#

Pages that discuss WindowByID.

Esc

Type to search.

Reference previewOpen reference