Session.active_window
Return the active Window object.
Source and package
- Qualified name
-
libtmux.Session. active _window - Module
- libtmux
- Declared in
Session- Package
- libtmux
- Source
- src/libtmux/session.py
- Other languages
- Perl Erlang PowerShell Julia Elixir Haskell Common Lisp Ruby Lua TypeScriptRustGoJavaC#C++ Swift Kotlin Scala OCaml F# Clojure
Guides#
Pages that discuss active_window.
In other ports#
The session's active window
| Language | Equivalent |
|---|---|
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | session |
| 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#.