libtmux:panes
Return a fresh vector of captured physical panes, without I/O. Snapshots preserve first occurrence; windows preserve the captured pane order.
Source and package
- (panes observation)Primary method: libtmux:snapshot: (panes (snapshot libtmux:
snapshot ))Primary method: libtmux:window: (panes (window libtmux:window )) -
Public owner:
libtmux- Parameters
-
-
observation# forpanes(observation) -
snapshot(libtmux:snapshot ) # forPrimary method: libtmux:snapshot -
window(libtmux:window ) # forPrimary method: libtmux:window
-
Guides#
Pages that discuss panes.
In other ports#
List a window's panes
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| PowerShell | Lib Use the -Window parameter set to acquire panes in one window. |
| Julia | Lib panes with a captured WindowSnapshot reads panes in that window; missing coverage is an error. |
| Erlang | tmux Pass panes, a captured physical window and its snapshot for a local relationship read. |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | window |
| Rust | window |
| Go | tmux |
| Java | io |
| Clojure | libtmux Traverses one capture locally. It does not issue a list-panes command. |
| Kotlin | io |
| Scala | io |
| C# | Lib |
| F# | Lib Builds a deferred pane query from one LibTmux.Window and its server. Query.list acquires panes scoped to that window ID. |
| C++ | libtmux:: |
| Swift | Snapshot |
| OCaml | Libtmux Reads captured panes in one global window without I/O. |
| Perl | Lib Reads this physical window’s captured panes without I/O. |
No equivalent is recorded in Lua or Elixir.
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. |
| TypeScript | session |
| Rust | session |
| Go | tmux |
| 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.
List the server's panes
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| Lua | libtmux |
| PowerShell | Lib Use the -Server parameter set to acquire panes across the server. |
| Julia | Lib panes with a Snapshot reads every captured physical pane. Use paneoccurrences for session placements. |
| Erlang | tmux Returns unique captured physical panes without tmux I/O. |
| Elixir | Lib Returns a Selection of every captured physical pane without contacting tmux. |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | server |
| Rust | server |
| Go | tmux |
| Java | io |
| Clojure | libtmux Acquires a new graph and returns its pane occurrences. |
| Kotlin | io |
| Scala | io |
| C# | Lib |
| F# | Lib Builds a deferred pane query on the shared .NET LibTmux.Server. Query.list acquires panes across that server. |
| C++ | libtmux:: |
| Swift | Server |
| OCaml | Libtmux |
| Perl | Lib One entry per captured physical pane; raw listings preserve contextual rows separately. |