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

Python API

Python documentation

libtmux.Server.list_clients

Python
  • Python
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
libtmux
Declared in
Server
Package
libtmux
Source
src/libtmux/server.py
list_clients ( self ) → list[str]
method [source]
method [source]
list_clients

List connected clients via $ tmux list-clients.

Examples

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

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

0 declared, 0 inherited

Esc

Type to search.