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.
Source and package
- (windows observation)Primary method: libtmux:session: (windows (session libtmux:
session ))Primary method: libtmux:snapshot: (windows (snapshot libtmux:snapshot )) -
Public owner:
libtmux- Parameters
-
-
observation# forwindows(observation) -
session(libtmux:session ) # forPrimary method: libtmux:session -
snapshot(libtmux:snapshot ) # forPrimary method: libtmux:snapshot
-
Guides#
Pages that discuss windows.
- Concepts
- Guides
In other ports#
List a session's windows
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| PowerShell | Lib Use the -Session parameter set to acquire placements in one session. |
| Julia | Lib windows with a captured SessionSnapshot reads distinct physical windows in that session. Use windowlinks for placements. |
| Erlang | tmux Pass windows, a captured session 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 | session |
| Rust | session |
| Go | tmux |
| Java | io |
| Clojure | libtmux Traverses one capture locally. It does not issue a list-windows command. |
| Kotlin | io |
| Scala | io |
| C# | Lib |
| F# | Lib Builds a deferred window query from one LibTmux.Session and its server. Query.list acquires placements scoped to that session ID. |
| C++ | libtmux:: |
| Swift | Snapshot |
| OCaml | Libtmux Reads distinct captured global windows in this session. window_links preserves individual indexed placements. |
| Perl | Traverse Session::window_links and resolve each link’s window, preserving explicit session placement and multiplicity. |
No equivalent is recorded in Lua or Elixir.
List the server's windows
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| Lua | libtmux |
| PowerShell | Lib Use the -Server parameter set to acquire window placements across all sessions. |
| Julia | Lib windows with a Snapshot reads every captured physical window. Use windowlinks for session placements. |
| Erlang | tmux Returns unique captured physical windows. window_links/1 lists session memberships. |
| Elixir | Lib Returns a Selection of every captured physical window. window_links/1 lists session placements. |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | server |
| Rust | server |
| Go | tmux |
| Java | io |
| Clojure | libtmux Acquires a new graph and returns its window placements without deduplicating linked windows. |
| Kotlin | io |
| Scala | io |
| C# | Lib |
| F# | Lib 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:: |
| Swift | Server |
| OCaml | Libtmux Reads captured global windows; use window_links for indexed session placements. |
| Perl | Lib One entry per physical identity. window_links retains all session placements. |