Session.ActiveWindow
Gets the captured active window, or an uncaptured relation.
Source and package
- Qualified name
-
LibTmux .Session. Active Window - Namespace
- LibTmux
- Declared in
Session- Package
- LibTmux
- Source
- src/LibTmux/Session.Relations.cs
- ActiveWindow : Captured
Value <Window>
Guides
task materialPages that discuss ActiveWindow.
In other ports
task equivalence 7 other ports mappedSource-verified mappings for The session's active window. 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 C# |
|---|---|---|
| C# | Lib Gets the captured active window, or an uncaptured relation. | This page |
| Python | libtmux Return the active Window object. | None recorded in the model |
| TypeScript | session The window tmux marks active in this session. | None recorded in the model |
| Rust | session Return the session's active window. | async |
| Go | tmux ActiveWindow returns this session's sole active winlink from the materialized snapshot. It never queries tmux; use Session.ResolveActiveWindow for live state. | None recorded in the model |
| Java | io The window tmux had active in this session. A pure read of the capture. | None recorded in the model |
| C++ | libtmux:: | readonly |
| Raku | Lib The session-relative active window placement in this observation. | Returns the captured active WindowLink; its window relationship selects the physical window. |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
no accessor; Pane.isActive is a flag on the pane, so the active one is found by filtering a listing
No direct public OCaml equivalent is recorded for this operation.
Select the active captured WindowLink, then resolve its physical window.
No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.