Session.attached
Source and package
- Qualified name
-
LibTmux .Session. attached - Module
- LibTmux
- Declared in
Session- Package
- libtmux
- Source
- lib/libtmux/entities.ex
- attached : Lib
Tmux (boolean()) = :unloaded.Schema .observed
Guides
task materialPages that discuss attached.
- Concepts
In other ports
task equivalence 11 other ports mappedSource-verified mappings for Whether a client was attached when captured. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.
| Port | API | Differs from Elixir |
|---|---|---|
| Elixir | Lib | This page |
| Python | libtmux | None recorded in the model |
| Ruby | Lib Behavior: Captured records. | None recorded in the model |
| Lua | libtmux | None recorded in the model |
| Rust | session Report whether any client is attached. | None recorded in the model |
| Go | tmux Attached returns tmux #{session_attached} as int from this Session's materialized session-scoped fields. | None recorded in the model |
| Java | io Whether a client was attached when this was captured. | None recorded in the model |
| C# | Lib Gets whether a client was attached when this session was read. | None recorded in the model |
| C++ | libtmux:: session_attached counts clients rather than rendering a flag, so any count other than zero means attached. | readonly |
| Swift | Session 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>. | None recorded in the model |
| OCaml | Libtmux | None recorded in the model |
| Perl | Lib integer. Local captured data; no I/O. | Returns the captured attached-client count; zero means no attached client. |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
no accessor; the field is read from Session.format, tmux's own row
No direct Raku mapping is recorded for this operation; consult the native API reference.
No equivalent is recorded in PowerShell, Julia, Erlang, Common Lisp, Clojure, Kotlin, Scala or F#.