Session.Panes
Panes returns newly allocated shallow copies of this snapshot record's pane views, and reports whether the receiver carries relations at all.
Source and package
- Qualified name
-
tmux.Session. Panes - Package
- tmux
- Declared in
Session- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/model.go
- Other languages
- Perl Erlang PowerShellcmdlet Julia Elixir Haskell Common Lispfunction PythonRuby Lua TypeScriptRust Java C#C++Swift Kotlin Scala OCaml F#function Clojure
-
Description#
It never queries tmux.
Server.Snapshotand the resolvers carry relations; a targeted lookup, refresh, or creation reports false rather than an empty relation. UseSession.SearchPanesfor current live panes.
Guides#
Pages that discuss Panes.
- Examples
- Topics
In other ports#
List a session's panes
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| PowerShell | Lib Use the -Session parameter set to acquire panes across that session’s windows. |
| Julia | Traverse windows(session) and panes(window) in the captured snapshot. panes(snapshot) has server-wide scope. |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| Common Lisp | libtmux: panes traverses captured observations; applying it to a session returns panes reachable through its retained links. |
| TypeScript | session |
| Rust | session |
| Java | no direct accessor; traverse Session.windows and Window.panes |
| C# | Lib |
| F# | Lib Builds a deferred pane query from one LibTmux.Session and its server. Query.list acquires panes across that session’s windows. |
| C++ | libtmux:: |
| Swift | Snapshot |
| OCaml | Traverse Session.windows and Window.panes in the captured graph. Snapshot.panes has server-wide scope. |
| Perl | Traverse the session’s window links and physical windows; choose explicitly whether repeated linked panes should repeat. |
No equivalent is recorded in Lua, Erlang, Elixir, Clojure, Kotlin or Scala.