- Module
- libtmux
- Declared in
- Server
- Package
- libtmux
- Source
- src/libtmux/server.py
- Other languages
- Ruby Lua TypeScriptRustGoJava.NETC++Swift
-
Clients attached to this tmux server.
Each attached terminal is a separate
Client.server.clientsreturns the typed view;client.client_readonly,client.client_termtype,client.client_sessionetc. read tmux'sclient_*format tokens.Returns an empty
QueryListwhen tmux'slist-clientsfails for any reason — no running daemon, a missing socket, a permission error, or a subprocess failure. To distinguish "no clients attached" from "tmux unreachable", callServer.is_aliveorServer.raise_if_dead.In other ports List the server's attached clients
- Ruby
LibTmux::Server#list_clients - Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript
server.Server.clients - Rust
server.Server.clients - Go
tmux.Server.Clients - Java
io.github.libtmux.Server.Server.clients - .NET
LibTmux.Server.Clients - C++
libtmux::Server::clients - Swift
Server.clients()
- Ruby
Examples
>>> with control_mode() as ctl:... names = [c.client_name for c in server.clients]... ctl.client_name in namesTrueconst clients = await server.clients();clients.map((entry) => entry.tty);0 declared, 0 inherited