Client.session
The session this client is attached to, if it is still attached.
Source and package
-
Examples#
client.session?.name;
In other ports#
The session a client is attached to
| Language | Equivalent |
|---|---|
| Python | client_session is a session name, not a Session object |
| Ruby | Lib |
| Lua | libtmux |
| Rust | client |
| Go | tmux |
| Java | io |
| Kotlin | io |
| Scala | io |
| C# | Lib |
| C++ | libtmux:: |
| Swift | the relationship is resolved through Snapshot.session(of:) |
No equivalent is recorded in PowerShell, Julia, Elixir or F#.