Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Go API

Go documentation

tmux.Session.Panes

View as Markdown

Module
tmux
Declared in
Session
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/model.go
Other languages
PythonRuby Lua TypeScriptRust Java .NETC++Swift
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.

Discussed in Traversal

In other ports List a session's panes

0 declared, 0 inherited

Esc

Type to search.