Session.activePane
The pane tmux marks active in this session's active window.
Source and package
-
Description#
This is two hops rather than one because
pane_activeis per window: every window has an active pane, and only the active window's is the session's.Examples#
await session.activePane?.sendKeys("echo hello");
In other ports#
The active pane of a session's active window
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| Rust | no equivalent on Session |
| Go | tmux |
| Java | io |
| C# | Lib |
| C++ | libtmux:: |
| Swift | no equivalent on Session |
No equivalent is recorded in Lua, PowerShell, Julia, Elixir, Kotlin, Scala or F#.