Snapshot.windows/1
Returns a materialized physical window selection without I/O.
Source and package
- Qualified name
-
LibTmux .Snapshot. windows/1 - Module
- LibTmux
- Declared in
Snapshot- Package
- libtmux
- Source
- lib/libtmux/snapshot.ex
- windows(snapshot) @spec windows(t()) :: Lib
Tmux (Lib.Selection .t Tmux ()).Window .t -
Description
See the worked example.
Recorded calls
source callsThe Elixir 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.Snapshot.windows/1.
In other ports
task equivalence 21 other ports mappedSource-verified mappings for List the server's windows. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.
| Port | API | Differs from Elixir |
|---|---|---|
| Elixir | Lib Returns a materialized physical window selection without I/O. | This page |
| Python | libtmux Windows contained in server's sessions. | None recorded in the model |
| Ruby | Lib Behavior: Live acquisition. | on Server |
| Lua | libtmux | None recorded in the model |
| PowerShell | Lib Read contextual windows from a server or session. | free function2 overloads Use the -Server parameter set to acquire window placements across all sessions. |
| Julia | Lib | free function2 overloads windows with a Snapshot reads every captured physical window. Use windowlinks for session placements. |
| Erlang | tmux Return unique captured physical windows in numeric ID order. Performs no I/O. Use window_links/1 for session-relative membership and indexes. | free function Returns unique captured physical windows. window_links/1 lists session memberships. |
| Common Lisp | libtmux: 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. | free function3 overloads windows on a snapshot returns captured physical windows once each. |
| TypeScript | server Every window on the server, including each placement of a linked window. | asyncon Server |
| Rust | server List every window on the server, preserving any failure. | asyncon Server |
| Go | tmux Windows materializes one record per winlink. Failures, including ErrNoServer, remain errors rather than empty results. | on Server |
| Java | io Captures every winlink, preserving each session and index placement. | on Server3 overloads |
| Clojure | libtmux Acquires captured window occurrences. | free function Acquires a new graph and returns its window placements without deduplicating linked windows. |
| Kotlin | io Captures every winlink, preserving each session and index placement. | asyncon Server3 overloads |
| Scala | io Captures every winlink, preserving each session and index placement. | on Server3 overloads |
| C# | Lib Gets the windows this handle captured, across every session. | None recorded in the model |
| F# | Lib Queries window placements across all sessions. | free function 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:: 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. | on Serverreadonly |
| Swift | Server Every window on this server, in tmux's own order. | asyncon Server |
| OCaml | Libtmux | free function Reads captured global windows; use window_links for indexed session placements. |
| Perl | Lib 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 | Lib Captured physical windows, unique by daemon-scoped identity. | Physical windows occur once; window-links preserves placements. |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.