Client.AttachedSession
AttachedSession returns the materialized attached session, if present in the same snapshot. It never queries tmux.
Source and package
- Qualified name
-
tmux.Client. Attached Session - Package
- tmux
- Declared in
Client- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/model.go
- Other languages
- Perlmethod Erlang PowerShell Julia Elixir Haskell Common Lisp Python RubyLuaTypeScriptRustJavaC#C++ Swift KotlinScalaOCamlfunction F# Clojure
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 |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | client |
| Rust | client |
| Java | io |
| Kotlin | io |
| Scala | io |
| C# | Lib |
| C++ | libtmux:: |
| Swift | the relationship is resolved through Snapshot.session(of:) |
| OCaml | Libtmux Returns the captured session when the attached client had one. |
| Perl | Lib Captured nullable relation; unloaded data remains an error. |
No equivalent is recorded in PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure or F#.