Core Library0.xAPI Reference

Choose documentation 3

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.

method libtmux-ruby latest

ClientSnapshot.session

Behavior: Captured records.

Source and package
Qualified name
LibTmux::ClientSnapshot#session
Module
LibTmux
Declared in
ClientSnapshot
Package
libtmux
Source
gems/libtmux/lib/libtmux/snapshot.rb
Other languages
Perlmethod Erlang PowerShell Julia Elixir Haskell Common Lisp Python LuaTypeScriptRustGoJavaC#C++ Swift KotlinScalaOCamlfunction F# Clojure

Description#

Behavior contract: Captured records.

In other ports#

The session a client is attached to

Equivalents of The session a client is attached to in other languages
Language Equivalent
Python client_session is a session name, not a Session object
Lua libtmux.SnapshotClient.session
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript client.Client.session
Rust client.Client.attached_session
Go tmux.Client.AttachedSession
Java io.github.libtmux.Client.session
Kotlin io.github.libtmux.kotlin.Client.session
Scala io.github.libtmux.scaladsl.Client.session
C# LibTmux.Client.GetAttachedSessionAsync
C++ libtmux::Client::session
Swift the relationship is resolved through Snapshot.session(of:)
OCaml Libtmux.Client_observation.session Returns the captured session when the attached client had one.
Perl LibTmux::Client::session Captured nullable relation; unloaded data remains an error.

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

Esc

Type to search.

Reference previewOpen reference