Core LibraryunreleasedAPI reference

Choose documentation 3

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.

MoreLess about this notice

function LibTmux.jl

windows

Source and package
Qualified name
LibTmux.windows
Module
LibTmux
Package
LibTmux
Source
src/model.jl

Methods

windows(parent::LibTmux.SessionSnapshot)[source]

Return the windows linked into session as a Selection of WindowSnapshot values, each once. This reads the capture and never contacts tmux. Raises SnapshotCoverageError when the capture does not include the session's links.

windows(session::SessionSnapshot)

windows(snap::LibTmux.Snapshot)[source]

Return the physical windows in snapshot as a Selection of WindowSnapshot values. A window linked into several sessions appears once; windowlinks lists each link. This reads the capture and never contacts tmux. Raises SnapshotCoverageError when the capture does not include windows.

windows(snapshot::Snapshot)

Recorded calls

source calls
No call edges in the Julia model.

The Julia reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.windows.

In other ports

task equivalence

Source-verified mappings for List a session's windows. 18 other ports mapped. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.

List a session's windows in each port
PortAPIDiffers from Julia
Julia LibTmux.windows This page
Python libtmux.Session.windows
Windows contained by session.
None recorded in the model
Ruby LibTmux::Session#list_windows
Behavior: Live acquisition.
None recorded in the model
PowerShell LibTmux\Get-TmuxWindow
Read contextual windows from a server or session.
Use the -Session parameter set to acquire placements in one session.
Erlang tmux_snapshot:related/3
Traverse a complete captured relationship without I/O. To-many relations return lists; to-one relations return a row or known absence. The input row must belong to this snapshot. Unloaded relations and mismatched rows return tagged errors.
Pass windows, a captured session and its snapshot for a local relationship read.
Common Lisp libtmux:windows
Return a fresh vector of captured windows, without I/O. Snapshot windows are physical entities in first-occurrence order. Session windows contain one item per link and preserve repeated physical windows.
3 overloads
windows traverses a captured session. Repeated links preserve their physical-window multiplicity.
TypeScript session.Session.windows
Windows placed in this session, in listing order.
None recorded in the model
Rust session.Session.windows
List the windows linked into this session, preserving any failure.
async
Go tmux.Session.Windows
Windows returns newly allocated shallow copies of this snapshot record's winlink views, and reports whether the receiver carries relations at all.
None recorded in the model
Java io.github.libtmux.Session.windows
This session's windows, in tmux's order. A pure read of the capture.
None recorded in the model
Clojure libtmux.data/windows
Returns the captured window occurrences in a snapshot or session.
Traverses one capture locally. It does not issue a list-windows command.
Kotlin io.github.libtmux.kotlin.Session.windows
This session's windows, in tmux's order. A pure read of the capture.
None recorded in the model
Scala io.github.libtmux.scaladsl.Session.windows
This session's windows.
None recorded in the model
C# LibTmux.Session.Windows
Gets the windows the capture found in this session.
None recorded in the model
F# LibTmux.FSharp.Session.windows
Queries the window placements in a session.
Builds a deferred window query from one LibTmux.Session and its server. Query.list acquires placements scoped to that session ID.
C++ libtmux::Session::windows readonly
Swift Snapshot.windows(of:)
The windows of a session, in tmux's order.
None recorded in the model
OCaml Libtmux.Session.windows
Distinct windows in first-link order. All accesses are local.
Reads distinct captured global windows in this session. window_links preserves individual indexed placements.
Raku LibTmux::Model::Session.window-links
Captured session/index associations, including repeated links to one physical window.
Returns captured WindowLink placements. Follow each window relationship for the physical window.
No Haskell equivalent.

No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.

No Perl equivalent.

Traverse Session::window_links and resolve each link’s window, preserving explicit session placement and multiplicity.

No equivalent is recorded in Lua or Elixir.

Source-verified mappings for List the server's windows. 21 other ports mapped. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.

List the server's windows in each port
PortAPIDiffers from Julia
Julia LibTmux.windows This page
Python libtmux.Server.windows
Windows contained in server's sessions.
None recorded in the model
Ruby LibTmux::Server#list_windows
Behavior: Live acquisition.
None recorded in the model
Lua libtmux.Snapshot.windows None recorded in the model
PowerShell LibTmux\Get-TmuxWindow
Read contextual windows from a server or session.
Use the -Server parameter set to acquire window placements across all sessions.
Erlang tmux_snapshot:windows/1
Return unique captured physical windows in numeric ID order. Performs no I/O. Use window_links/1 for session-relative membership and indexes.
Returns unique captured physical windows. window_links/1 lists session memberships.
Elixir LibTmux.Snapshot.windows/1
Returns a materialized physical window selection without I/O.
Returns a Selection of every captured physical window. window_links/1 lists session placements.
Common Lisp libtmux:windows
Return a fresh vector of captured windows, without I/O. Snapshot windows are physical entities in first-occurrence order. Session windows contain one item per link and preserve repeated physical windows.
3 overloads
windows on a snapshot returns captured physical windows once each.
TypeScript server.Server.windows
Every window on the server, including each placement of a linked window.
async
Rust server.Server.windows
List every window on the server, preserving any failure.
async
Go tmux.Server.Windows
Windows materializes one record per winlink. Failures, including ErrNoServer, remain errors rather than empty results.
None recorded in the model
Java io.github.libtmux.Server.windows
Captures every winlink, preserving each session and index placement.
3 overloads
Clojure libtmux.core/windows!
Acquires captured window occurrences.
Acquires a new graph and returns its window placements without deduplicating linked windows.
Kotlin io.github.libtmux.kotlin.Server.windows
Captures every winlink, preserving each session and index placement.
async3 overloads
Scala io.github.libtmux.scaladsl.Server.windows
Captures every winlink, preserving each session and index placement.
3 overloads
C# LibTmux.Server.Windows
Gets the windows this handle captured, across every session.
None recorded in the model
F# LibTmux.FSharp.Server.windows
Queries window placements across all sessions.
Builds a deferred query for placements across all sessions. Query.list acquires the results; a linked window appears once for each session placement.
C++ libtmux::Server::windows
tmux scopes window and pane listings to the current session unless asked for every one, so -a is part of the request rather than a caller's responsibility to remember.
readonly
Swift Server.windows()
Every window on this server, in tmux's own order.
async
OCaml Libtmux.Snapshot.windows
Reads captured global windows; use window_links for indexed session placements.
Perl LibTmux::Snapshot::windows
Return a fresh LibTmux::WindowSelection containing each physical window identity once. Context lives in "window_links".
One entry per physical identity. window_links retains all session placements.
Raku LibTmux::Model::Snapshot.windows
Captured physical windows, unique by daemon-scoped identity.
Physical windows occur once; window-links preserves placements.
No Haskell equivalent.

No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.

Esc
Search in

Type to search.

Reference previewOpen reference