Core LibrarystableAPI Reference

Choose documentation 3

stable

Current version

stable
English

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

Python API

property libtmux stable

Client.attached_pane

Return the Pane this client is currently viewing.

Source and package
Qualified name
libtmux.Client.attached_pane
Module
libtmux
Declared in
Client
Package
libtmux
Source
src/libtmux/client.py
attached_pane (self) → Pane | None

Description#

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.

Esc

Type to search.

Reference preview Open reference