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_window

Return the Window this client is currently viewing.

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

Description#

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

Esc

Type to search.

Reference preview Open reference