Session.panes
Panes contained by session's windows.
Source and package
- Qualified name
-
libtmux.Session. panes - Module
- libtmux
- Declared in
Session- Package
- libtmux
- Source
- src/libtmux/session.py
- Other languages
- Perl Erlang PowerShellcmdlet Julia Elixir Haskell Common Lispfunction Ruby Lua TypeScriptRustGo Java C#C++Swift Kotlin Scala OCaml F#function Clojure
-
Description#
Can be accessed via
.panes.get()and.panes.filter()
tmux command#
The tmux commands behind panes.
list-panes -s session scope, cmd_list_panes_session tmux C API#
The C declarations in tmux that implement these commands.
Guides#
Pages that discuss panes.
In other ports#
List a session's panes
| Language | Equivalent |
|---|---|
| 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 |
| 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.