Window.session
The session this link belongs to. A pure read of the capture.
Source and package
- Qualified name
-
io.github .libtmux .kotlin .Window. session - Package
- io.github.libtmux.kotlin
- Declared in
Window- Distribution
- io.github.libtmux:libtmux-kotlin
- Source
- libtmux-kotlin/src/main/kotlin/io/github/libtmux/kotlin/Window.kt
In other ports
task equivalence 13 other ports mappedSource-verified mappings for Find the session containing a window placement. 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 Kotlin |
|---|---|---|
| Kotlin | io The session this link belongs to. A pure read of the capture. | This page |
| Python | libtmux Parent session of window. | None recorded in the model |
| Ruby | Lib Behavior: Live handles. | None recorded in the model |
| Lua | libtmux | None recorded in the model |
| TypeScript | window The session this placement belongs to. | None recorded in the model |
| Rust | window Return the session this window was reached through. | async |
| Go | tmux Session returns this view's parent record when it remains in the same snapshot. It never queries tmux. | None recorded in the model |
| Java | io The session this link belongs to. A pure read of the capture. | None recorded in the model |
| Scala | io The session this link belongs to. | 2 overloads |
| C# | Lib Gets the session this window was read through. | None recorded in the model |
| C++ | libtmux:: | readonly |
| OCaml | Libtmux | The session belongs to a placement. A global Window has no single containing session. |
| Perl | Lib LibTmux::Session entity. Local captured data; no I/O. | The session belongs to an explicit WindowLink placement; a physical Window has no arbitrary single session. |
| Raku | Lib The observed associated session, resolved without I/O. | The session belongs to a link, not to the physical Window. |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
a Window has no single parent; Snapshot.sessions(of:) lists every linking session
No equivalent is recorded in PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure or F#.