Core LibraryunreleasedAPI Reference

Choose documentation 2

latest

Current version

latest
English

Unreleased libtmux has not been released. Its API may change during development. This site's structure and URLs may change too.

function libtmux-lisp latest

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
Qualified name
libtmux:panes
Declared in
libtmux
Package
libtmux
Source
src/model.lisp
Other languages
Perlmethod Erlangfunction PowerShellcmdlet Juliafunction Elixirfunction Haskell PythonRubyLuaTypeScriptRustGoJavaC#C++SwiftKotlinScalaOCamlfunction F#function Clojurefunction
(panes observation)Primary method: libtmux:snapshot: (panes (snapshot libtmux:snapshot))Primary method: libtmux:window: (panes (window libtmux:window))

Public owner: libtmux

Methods#

(panes (snapshot libtmux:snapshot))#

(panes (window libtmux:window))#

Guides#

Pages that discuss panes.

In other ports#

List a window's panes

Equivalents of List a window's panes in other languages
Language Equivalent
Python libtmux.Window.panes
Ruby LibTmux::Window#list_panes
PowerShell LibTmux\Get-TmuxPane Use the -Window parameter set to acquire panes in one window.
Julia LibTmux.panes panes with a captured WindowSnapshot reads panes in that window; missing coverage is an error.
Erlang tmux_snapshot:related/3 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.Window.panes
Rust window.Window.panes
Go tmux.Window.Panes
Java io.github.libtmux.Window.panes
Clojure libtmux.data/panes Traverses one capture locally. It does not issue a list-panes command.
Kotlin io.github.libtmux.kotlin.Window.panes
Scala io.github.libtmux.scaladsl.Window.panes
C# LibTmux.Window.Panes
F# LibTmux.FSharp.Window.panes Builds a deferred pane query from one LibTmux.Window and its server. Query.list acquires panes scoped to that window ID.
C++ libtmux::Window::panes
Swift Snapshot.panes(of:)
OCaml Libtmux.Window.panes Reads captured panes in one global window without I/O.
Perl LibTmux::Window::panes Reads this physical window’s captured panes without I/O.

No equivalent is recorded in Lua or Elixir.

List a session's panes

Equivalents of List a session's panes in other languages
Language Equivalent
Python libtmux.Session.panes
Ruby LibTmux::Session#list_panes
PowerShell LibTmux\Get-TmuxPane 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.Session.panes
Rust session.Session.panes
Go tmux.Session.Panes
Java no direct accessor; traverse Session.windows and Window.panes
C# LibTmux.Session.Panes
F# LibTmux.FSharp.Session.panes Builds a deferred pane query from one LibTmux.Session and its server. Query.list acquires panes across that session’s windows.
C++ libtmux::Session::panes
Swift Snapshot.panes(of:)
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

Equivalents of List the server's panes in other languages
Language Equivalent
Python libtmux.Server.panes
Ruby LibTmux::Server#list_panes
Lua libtmux.Snapshot.panes
PowerShell LibTmux\Get-TmuxPane Use the -Server parameter set to acquire panes across the server.
Julia LibTmux.panes panes with a Snapshot reads every captured physical pane. Use paneoccurrences for session placements.
Erlang tmux_snapshot:panes/1 Returns unique captured physical panes without tmux I/O.
Elixir LibTmux.Snapshot.panes/1 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.Server.panes
Rust server.Server.panes
Go tmux.Server.Panes
Java io.github.libtmux.Server.panes
Clojure libtmux.core/panes! Acquires a new graph and returns its pane occurrences.
Kotlin io.github.libtmux.kotlin.Server.panes
Scala io.github.libtmux.scaladsl.Server.panes
C# LibTmux.Server.Panes
F# LibTmux.FSharp.Server.panes Builds a deferred pane query on the shared .NET LibTmux.Server. Query.list acquires panes across that server.
C++ libtmux::Server::panes
Swift Server.panes()
OCaml Libtmux.Snapshot.panes
Perl LibTmux::Snapshot::panes One entry per captured physical pane; raw listings preserve contextual rows separately.
Esc

Type to search.

Reference previewOpen reference