Window.activePane
The pane tmux marks active in this window.
Source and package
-
Description#
pane_activeis scoped to a window, so filtering a session's panes on it yields one per window rather than one overall. Reaching the active pane through the window it belongs to is what makes the answer singular.Examples#
await window.activePane?.sendKeys("echo hello");
Guides#
Pages that discuss activePane.
In other ports#
The window's active pane
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Rust | window |
| 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#.