Session.isAttached
Whether any client is looking at this session. Opening a connection attaches one, so this reads differently from inside Server.connected(attachingTo:_:) — see <doc:Modes>.
Source and package
- isAttached : let is
Attached : Bool
In other ports#
Whether a client was attached when captured
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| Lua | libtmux |
| Elixir | Lib |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | no accessor; the field is read from Session.format, tmux's own row |
| Rust | session |
| Go | tmux |
| Java | io |
| C# | Lib |
| C++ | libtmux:: |
| OCaml | Libtmux |
| Perl | Lib Returns the captured attached-client count; zero means no attached client. |
No equivalent is recorded in PowerShell, Julia, Erlang, Common Lisp, Clojure, Kotlin, Scala or F#.