Core Library0.xAPI reference

Choose documentation 1

pr-173

Current version

pr-173
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

function libtmux-elixir

Session.active_window/2

Returns the captured active physical window, or nil when none is active.

Source and package
Qualified name
LibTmux.Session.active_window/2
Module
LibTmux
Declared in
Session
Package
libtmux
Source
lib/libtmux/entities.ex
active_window(snapshot, session) @spec active_window(LibTmux.Snapshot.t(), t()) :: LibTmux.Window.t() | nil

Description

Multiple active links raise LibTmux.Error, even when they name the same window. Unrelated sessions do not affect this lookup. Identity, coverage and no-I/O behavior follow windows/2, which includes a worked example.

Parameters

Recorded calls

source calls
No call edges in the Elixir model.

The Elixir 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.Session.active_window/2.

Guides

task material

Pages that discuss active_window/2.

Esc
Search in

Type to search.

Reference previewOpen reference