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

Required: building the struct without this key is an error.

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

In other ports

task equivalence 12 other ports mapped

Source-verified mappings for A session's stable tmux id. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.

A session's stable tmux id in each port
PortAPIDiffers from Elixir
Elixir LibTmux.Session.id
Required: building the struct without this key is an error.
This page
Python libtmux.Session.id
Alias of Session.session_id.
None recorded in the model
Ruby LibTmux::SessionSnapshot#id
Behavior: Captured records.
None recorded in the model
Lua libtmux.SnapshotSession.id None recorded in the model
Rust session.Session.id
Return the tmux session identity.
None recorded in the model
Go tmux.Session.ID
ID returns the stable tmux identity of this session.
None recorded in the model
Java io.github.libtmux.Session.id
The session's stable id.
None recorded in the model
C# LibTmux.Session.Id
Gets the session identifier.
None recorded in the model
C++ libtmux::Session::id readonly
Swift Session.id
tmux's own session id, stable for the session's lifetime — $0, $1. Names are not: a session can be renamed, and two servers can both have a 0.
None recorded in the model
OCaml Libtmux.Session.id None recorded in the model
Perl LibTmux::Session::id
string. Local captured data; no I/O.
Schema-validated captured data; reading performs no tmux I/O.
Raku LibTmux::Model::Session.id
Captured session_id; local session-id access.
None recorded in the model
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 equivalent is recorded in PowerShell, Julia, Erlang, Common Lisp, Clojure, Kotlin, Scala or F#.

Esc
Search in

Type to search.

Reference previewOpen reference