Core Library0.xAPI reference

Choose documentation 1

latest

Current version

latest
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-kotlin

Client.session

The session this client was attached to when captured. A pure read of the capture.

Source and package
Qualified name
io.github.libtmux.kotlin.Client.session
Package
io.github.libtmux.kotlin
Declared in
Client
Distribution
io.github.libtmux:libtmux-kotlin
Source
libtmux-kotlin/src/main/kotlin/io/github/libtmux/kotlin/Client.kt
public val session: Session?

In other ports

task equivalence 12 other ports mapped

Source-verified mappings for The session a client is attached to. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.

The session a client is attached to in each port
PortAPIDiffers from Kotlin
Kotlin io.github.libtmux.kotlin.Client.session
The session this client was attached to when captured. A pure read of the capture.
This page
Ruby LibTmux::ClientSnapshot#session
Behavior: Captured records.
None recorded in the model
Lua libtmux.SnapshotClient.session None recorded in the model
TypeScript client.Client.session
The session this client is attached to, if it is still attached.
None recorded in the model
Rust client.Client.attached_session
The session this client is attached to.
async
Go tmux.Client.AttachedSession
AttachedSession returns the materialized attached session, if present in the same snapshot. It never queries tmux.
None recorded in the model
Java io.github.libtmux.Client.session
The session this client was attached to when captured. A pure read of the capture.
None recorded in the model
Scala io.github.libtmux.scaladsl.Client.session
The session this client was attached to, if any.
2 overloads
C# LibTmux.Client.GetAttachedSessionAsync
Reads the session this client is attached to now.
async
C++ libtmux::Client::session readonly
OCaml Libtmux.Client_observation.session
None means the captured client has no attached session.
Returns the captured session when the attached client had one.
Perl LibTmux::Client::session
LibTmux::Session entity or undef. Local captured data; no I/O.
Captured nullable relation; unloaded data remains an error.
Raku LibTmux::Model::Client.session
The observed associated session, resolved without I/O.
None recorded in the model
No Python equivalent.

client_session is a session name, not a Session object

No Haskell equivalent.

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

No Swift equivalent.

the relationship is resolved through Snapshot.session(of:)

No equivalent is recorded in PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure or F#.

Esc
Search in

Type to search.

Reference previewOpen reference