Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-ts latest

Session.panes

Panes contained by this session's windows.

Source and package
Qualified name
Session.panes
Module
session
Declared in
Session
Package
libtmux
Source
packages/libtmux/src/session.ts
Other languages
PowerShellcmdlet Julia Elixir PythonRuby Lua RustGo Java C#C++Swift Kotlin Scala F#function

Examples#

session.panes.where({ currentCommand: "vim" }).count();

Guides#

Pages that discuss panes.

In other ports#

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.
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:)

No equivalent is recorded in Lua, Elixir, Kotlin or Scala.

Esc

Type to search.

Reference previewOpen reference