Core Library0.xAPI reference

Choose documentation 1

pr-173

Current version

pr-173
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

property libtmux-elixir

Session.attached

Source and package
Qualified name
LibTmux.Session.attached
Module
LibTmux
Declared in
Session
Package
libtmux
Source
lib/libtmux/entities.ex

Guides

task material

Pages that discuss attached.

In other ports

task equivalence 11 other ports mapped

Source-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.

Whether a client was attached when captured in each port
PortAPIDiffers from Elixir
Elixir LibTmux.Session.attached This page
Python libtmux.Session.session_attached None recorded in the model
Ruby LibTmux::SessionSnapshot#attached
Behavior: Captured records.
None recorded in the model
Lua libtmux.SnapshotSession.attached None recorded in the model
Rust session.Session.is_attached
Report whether any client is attached.
None recorded in the model
Go tmux.Session.Attached
Attached returns tmux #{session_attached} as int from this Session's materialized session-scoped fields.
None recorded in the model
Java io.github.libtmux.Session.attached
Whether a client was attached when this was captured.
None recorded in the model
C# LibTmux.Session.Attached
Gets whether a client was attached when this session was read.
None recorded in the model
C++ libtmux::Session::attached
session_attached counts clients rather than rendering a flag, so any count other than zero means attached.
readonly
Swift 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>.
None recorded in the model
OCaml Libtmux.Session.attached None recorded in the model
Perl LibTmux::Session::attached
integer. Local captured data; no I/O.
Returns the captured attached-client count; zero means no attached client.
No Haskell equivalent.

No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.

No TypeScript equivalent.

no accessor; the field is read from Session.format, tmux's own row

No Raku equivalent.

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#.

Esc
Search in

Type to search.

Reference previewOpen reference