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.

class libtmux-raku latest

Model.Session

Captured session with local window-link and group relationships.

Source and package
Qualified name
LibTmux::Model::Session
Module
LibTmux
Declared in
Model
Package
LibTmux
Source
lib/LibTmux/Model.rakumod
Other languages
Perlclass ErlangPowerShellcmdlet Juliastruct Elixirstruct Haskelldata type Common Lispclass PythonRubyLuaTypeScriptRustGoJavaC#C++SwiftKotlinScalaOCamlF#module Clojurefunction
Anonymous class

Description#

Captured session with local window-link and group relationships.

Members12#

Collections and queries1#

  • window-links method Captured session/index associations, including repeated links to one physical window.

Common operations7#

Other members4#

Inherited members10 members#

Reached through LibTmux::Model::View.

  • bytes method inherited Exact captured bytes, before strict text conversion or normalization.
  • clone method inherited Copy this captured value without changing its records or acquiring new data.
  • incarnation method inherited Return the captured daemon identity without refreshing it.
  • new method inherited Refuse direct view construction; obtain this value from a Snapshot.
  • ref method inherited Construct a value-only command target without observing current daemon state.
  • relation method inherited Resolve one declared relation locally; incomplete required data raises MissingData.
  • same-entity method inherited Compare scoped entity identity; window links additionally require the same snapshot.
  • snapshot method inherited Return the retained captured graph; it owns no live transport.
  • state method inherited Report availability of a declared field or relation without conflating null and unloaded data.
  • value method inherited Return a decoded local field, Nil for known null, or throw MissingData for unavailable data.

In other ports#

A tmux session

Equivalents of A tmux session in other languages
Language Equivalent
Python libtmux.Session
Ruby LibTmux::Session
Lua libtmux.Session
PowerShell LibTmux\Get-TmuxSession This cmdlet reads and returns shared .NET LibTmux.Session objects. Child windows and panes require further acquisition.
Julia LibTmux.SessionSnapshot SessionSnapshot holds captured session data. Actions use its SessionRef, a typed identity bound to an observed daemon generation.
Erlang #tmux_model:session{}
Elixir LibTmux.Session Session is an immutable observation. Fields not captured read as :unloaded.
Haskell LibTmux.Snapshot.Session Session is a detached physical session. WindowLink records each placement of a window in it, and operations take a generation-bound SessionRef.
Common Lisp libtmux:session session is an immutable captured entity. The same name also has a relation accessor with a distinct public identity.
TypeScript session.Session
Rust session.Session
Go tmux.Session
Java io.github.libtmux.Session
Clojure libtmux.core/sessions! Acquires a vector of captured session maps. The session value is a map, not a wrapper class.
Kotlin io.github.libtmux.kotlin.Session
Scala io.github.libtmux.scaladsl.Session
C# LibTmux.Session
F# LibTmux.FSharp.Session This F# module builds deferred child queries from a shared .NET LibTmux.Session and its server association. Query.list acquires their results from tmux.
C++ libtmux::Session
Swift Session
OCaml Libtmux.Session.t
Perl LibTmux::Session A captured read-only entity; explicit Server operations accept its stable identity.
Esc

Type to search.

Reference previewOpen reference