libtmux Reference MCP Search
On this page

libtmux.Client.attached_pane

View as Markdown

Module
libtmux
Declared in
Client
Package
libtmux
Source
src/libtmux/client.py
attached_pane ( self ) Pane | None
property [source]
property [source]
attached_pane

Return the Pane this client is currently viewing.

Re-reads the client from list-clients, looks up its attached session's current window, and returns that window's active_pane . Returns None when no live attached session or active pane can be resolved.

This follows the attached session's current window and active pane. When a client has used select-pane -P to set its own active pane, this property returns the *session's* current active pane, not the client's per-client focus.

0 declared, 0 inherited

Esc

Type to search.