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 |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| 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 |
| OCaml | No direct public OCaml equivalent is recorded for this operation. |
| Perl | 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#.