libtmux Reference MCP Search
On this page

window.Window.activePane

View as Markdown

Module
window
Declared in
Window
Package
@libtmux/libtmux
Source
packages/libtmux/src/window.ts
Other languages
PythonRustGoJava.NETC++ Swift
activePane ( ) Pane | undefined
method [source]
method [source]
activePane

The pane tmux marks active in this window.

pane_active is 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

0 declared, 0 inherited

Esc

Type to search.