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

Go API

Go documentation

View as Markdown

Module
tmux
Declared in
Window
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/model.go
Other languages
PythonRuby Lua TypeScriptRustJava.NETC++Swift
Panes ( ) → ([]Pane, bool)
method [source]
method [source]
Panes

Panes returns newly allocated shallow copies of panes for this exact winlink, and reports whether the receiver carries relations at all.

It never queries tmux. Server.Snapshot , the resolvers, and Session.NewWindow carry relations; a targeted lookup or refresh reports false instead. Use Window.SearchPanes for current live panes.

Discussed in Traversal

In other ports List a window's panes

0 declared, 0 inherited

Esc

Type to search.