Session.activeWindow
The window tmux marks active in this session.
Source and package
-
Examples#
session.activeWindow?.name;
Guides#
Pages that discuss activeWindow.
In other ports#
The session's active window
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Rust | session |
| Go | tmux |
| Java | io |
| C# | Lib |
| C++ | libtmux:: |
| Swift | no accessor; Pane.isActive is a flag on the pane, so the active one is found by filtering a listing |
No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Elixir, Kotlin, Scala or F#.