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 |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| Rust | no equivalent on Session |
| Go | tmux |
| Java | io |
| C# | Lib |
| C++ | libtmux:: |
| Swift | no equivalent on Session |
| OCaml | No direct public OCaml equivalent is recorded for this operation. |
| Perl | No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands. |
No equivalent is recorded in Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.