Core Library0.xAPI Reference

Choose documentation 3

v0.1.1

Current version

v0.1.1
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 v0.1.1

SessionSnapshot.attached

Behavior: Captured records.

Source and package
Qualified name
LibTmux::SessionSnapshot#attached
Module
LibTmux
Declared in
SessionSnapshot
Package
libtmux
Source
gems/libtmux/lib/libtmux/snapshot.rb
Other languages
PowerShell Julia ElixirPythonLua TypeScript RustGoJavaC#C++Swift Kotlin Scala F#
def attached: () -> ::Integer

Description#

Behavior contract: Captured records.

In other ports#

Whether a client was attached when captured

Equivalents of Whether a client was attached when captured in other languages
Language Equivalent
Python libtmux.Session.session_attached
Lua libtmux.SnapshotSession.attached
Elixir LibTmux.Session.attached
TypeScript no accessor; the field is read from Session.format, tmux's own row
Rust session.Session.is_attached
Go tmux.Session.Attached
Java io.github.libtmux.Session.attached
C# LibTmux.Session.Attached
C++ libtmux::Session::attached
Swift Session.isAttached

No equivalent is recorded in PowerShell, Julia, Kotlin, Scala or F#.

Esc

Type to search.

Reference previewOpen reference