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

method libtmux stable

Server.list_clients

List connected clients via $ tmux list-clients.

Source and package
Qualified name
libtmux.Server.list_clients
Module
libtmux
Declared in
Server
Package
libtmux
Source
src/libtmux/server.py
list_clients (self) → list[str]

Examples#

>>> isinstance(server.list_clients(), list)
True
Returns

list[str] Raw output lines from list-clients.

Esc

Type to search.

Reference preview Open reference