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

session.Session.activePane

TypeScript

View as Markdown

Module
session
Declared in
Session
Package
libtmux
Source
packages/libtmux/src/session.ts
Other languages
PythonRuby Lua Rust GoJava.NETC++ Swift
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");
In other ports The active pane of a session's active window

0 declared, 0 inherited

Esc

Type to search.