Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

window.Window.activePane

TypeScript

View as Markdown

Module
window
Declared in
Window
Package
libtmux
Source
packages/libtmux/src/window.ts
Other languages
Python Ruby Lua RustGoJava.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 ports The window's active pane

0 declared, 0 inherited

Esc

Type to search.