libtmux Reference MCP Search
On this page

session.Session.activePane

View as Markdown

Module
session
Declared in
Session
Package
@libtmux/libtmux
Source
packages/libtmux/src/session.ts
activePane ( ) Pane | undefined
method [source]
method [source]
activePane

The pane tmux marks active in this session's active window.

This is two hops rather than one because pane_active is 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");

0 declared, 0 inherited

Esc

Type to search.