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.

attribute libtmux-lua latest

SnapshotClient.session

Source and package
Qualified name
libtmux.SnapshotClient.session
Module
libtmux
Declared in
SnapshotClient
Package
libtmux
Source
lua/libtmux/_internal/server.lua
Other languages
Perlmethod Erlang PowerShell Julia Elixir Haskell Common Lisp Python RubyTypeScriptRustGoJavaC#C++ Swift KotlinScalaOCamlfunction F# Clojure

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
Ruby LibTmux::ClientSnapshot#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