Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux latest

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.

tmux command#

The tmux commands behind list_clients.

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference