libtmux Reference MCP Search
On this page

tmux.Session.Panes

View as Markdown

Module
tmux
Declared in
Session
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/model.go
Panes ( ) ([]Pane, bool)
method [source]
method [source]
Panes

Panes returns newly allocated shallow copies of this snapshot record's pane views, and reports whether the receiver carries relations at all.

It never queries tmux. Server.Snapshot and the resolvers carry relations; a targeted lookup, refresh, or creation reports false rather than an empty relation. Use Session.SearchPanes for current live panes.

0 declared, 0 inherited

Esc

Type to search.