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(Lib
Tmux (), t()) :: Lib.Snapshot .t Tmux () | nil.Window .t -
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 followwindows/2, which includes a worked example.Discussed in Captured tmux state · Filter captured values , Getting started · Observation and filter schema