On this page
window.Window.activePane
- Module
- window
- Declared in
- Window
- Package
- @libtmux/libtmux
- Source
- packages/libtmux/src/window.ts
- Other languages
- PythonRustGoJava.NETC++ Swift
-
The pane tmux marks active in this window.
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");Discussed in Traversal
In other languages The window's active pane
- Python
libtmux.Window.active_pane - Rust
window.navigation.Window.active_pane - Go
tmux.Window.ActivePane - Java
io.github.libtmux.Window.Window.activePane - .NET
LibTmux.Window.ActivePane - C++
libtmux::Window::active_pane - Swift no accessor; `Pane.isActive` is a flag on the pane, so the active one is found by filtering a listing
- Python
0 declared, 0 inherited