Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

property libtmux-dotnet

Session.ActiveWindow

Gets the captured active window, or an uncaptured relation.

Source and package
Qualified name
LibTmux.Session.ActiveWindow
Namespace
LibTmux
Declared in
Session
Package
LibTmux
Source
src/LibTmux/Session.Relations.cs

Description

Reading this is local. A session reached through an inactive window carries that window's row, so its active window was not captured.

Guides

task material

Pages that discuss ActiveWindow.

In other ports

task equivalence 7 other ports mapped

Source-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.

The session's active window in each port
PortAPIDiffers from C#
C# LibTmux.Session.ActiveWindow
Gets the captured active window, or an uncaptured relation.
This page
Python libtmux.Session.active_window
Return the active Window object.
None recorded in the model
TypeScript session.Session.activeWindow
The window tmux marks active in this session.
None recorded in the model
Rust session.Session.active_window
Return the session's active window.
async
Go tmux.Session.ActiveWindow
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.github.libtmux.Session.activeWindow
The window tmux had active in this session. A pure read of the capture.
None recorded in the model
C++ libtmux::Session::active_window readonly
Raku LibTmux::Model::Session.current-link
The session-relative active window placement in this observation.
Returns the captured active WindowLink; its window relationship selects the physical window.
No Haskell equivalent.

No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.

No Swift equivalent.

no accessor; Pane.isActive is a flag on the pane, so the active one is found by filtering a listing

No OCaml equivalent.

No direct public OCaml equivalent is recorded for this operation.

No Perl equivalent.

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#.

Esc
Search in

Type to search.

Reference previewOpen reference