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
-
Description#
Re-reads the client from
list-clients, looks up its attached session's current window, and returns that window'sactive_pane. ReturnsNonewhen 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 -Pto set its own active pane, this property returns the session's current active pane, not the client's per-client focus.