Session.panes
Panes contained by this session's windows.
Source and package
-
Examples#
session.panes.where({ currentCommand: "vim" }).count();
Guides#
Pages that discuss panes.
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. |
| 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 |
No equivalent is recorded in Lua, Elixir, Kotlin or Scala.