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.
Source and package
- Qualified name
-
tmux_snapshot: windows/1 - Declared in
tmux_snapshot- Package
- libtmux_erlang
- Source
- apps/libtmux_erlang/src/tmux_snapshot.erl
- Other languages
- Perlmethod PowerShellcmdlet Juliafunction Elixirfunction Haskell Common Lispfunction PythonRubyLuaTypeScriptRustGoJavaC#C++SwiftKotlinScalaOCamlfunction F#function Clojurefunction
- windows(Snapshot) -spec windows(t()) -> [tmux
_model: ()].window
In other ports#
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. |
| 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. |
| Common Lisp | libtmux: windows on a snapshot returns captured physical windows once each. |
| 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. |