SessionSnapshot.window_count
Behavior: Captured records.
Source and package
- Qualified name
-
LibTmux:: Session Snapshot# window _count - Module
- LibTmux
- Declared in
SessionSnapshot- Package
- libtmux
- Source
- gems/libtmux/lib/libtmux/snapshot.rb
Recorded calls
source callsThe Ruby 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::SessionSnapshot#window_count.
In other ports
task equivalence 5 other ports mappedSource-verified mappings for How many windows the session holds. 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 Ruby |
|---|---|---|
| Ruby | Lib Behavior: Captured records. | This page |
| Lua | libtmux | None recorded in the model |
| Rust | session Return how many windows the session contains. | on Session |
| Go | tmux WindowCount returns tmux #{session_windows} as int from this Session's materialized session-scoped fields. | on Session |
| C++ | libtmux:: | on Sessionreadonly |
| Swift | Session tmux's own count, so a caller needing only the number does not have to list the windows to get it. | None recorded in the model |
no equivalent on Session
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
no equivalent on Session
no equivalent on Session
no equivalent on Session
No direct public OCaml equivalent is recorded for this operation.
Count Session::window_links membership; repeated links remain distinct occurrences.
No direct Raku mapping is recorded for this operation; consult the native API reference.
No equivalent is recorded in PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.