Server.clients
Every client attached to the server.
Source and package
-
Examples#
const clients = await server.clients();clients.map((entry) => entry.tty);
In other ports#
List the server's attached clients
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| PowerShell | Lib Acquires attached clients through -Server and returns shared .NET LibTmux.Client objects. |
| Julia | Lib clients reads attached clients from a captured Snapshot without contacting tmux. |
| Elixir | Lib Returns a Selection of captured attached clients without contacting tmux. |
| Rust | server |
| Go | tmux |
| Java | io |
| Kotlin | io |
| Scala | io |
| C# | Lib |
| F# | Lib Builds a deferred client query on the shared .NET LibTmux.Server. Query.list acquires attached clients. |
| C++ | libtmux:: |
| Swift | Server |
No equivalent is recorded in Lua.