Session.windows
Windows contained by session.
Source and package
- Qualified name
-
libtmux.Session. windows - Module
- libtmux
- Declared in
Session- Package
- libtmux
- Source
- src/libtmux/session.py
- Other languages
- Perl Erlangfunction PowerShellcmdlet Juliafunction Elixir Haskell Common Lispfunction Ruby Lua TypeScriptRustGoJavaC#C++SwiftKotlinScalaOCamlfunction F#function Clojurefunction
-
Description#
Can be accessed via
.windows.get()and.windows.filter()
tmux command#
The tmux commands behind windows.
list-windows -t session scope, cmd_list_windows_exec tmux C API#
The C declarations in tmux that implement these commands.
Guides#
Pages that discuss windows.
- Concepts
- Topics
In other ports#
List a session's windows
| Language | Equivalent |
|---|---|
| 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. |
| Common Lisp | libtmux: windows traverses a captured session. Repeated links preserve their physical-window multiplicity. |
| 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.