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

SessionByID returns the sole session view with id. It never queries tmux and returns a SnapshotLookupError matching ErrNotFound otherwise.

Source and package
Qualified name
tmux.Snapshot.SessionByID
Package
tmux
Declared in
Snapshot
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/snapshot.go
func (s Snapshot) SessionByID(id SessionID) (Session, error)
Parameters
Esc

Type to search.

Reference previewOpen reference