Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

session.Session.last_attached

Rust
  • Python
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust
  • Go
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
session
Declared in
Session
Package
libtmux
Source
crates/libtmux/src/session.rs
Other languages
Python Ruby Lua TypeScript Go Java .NET C++ Swift
last_attached ( self ) → Option<SystemTime>
method [source]
method [source]
last_attached

Return when a client last attached.

This is None for a session that has never been attached, which is the ordinary state for one started with new-session -d. tmux keeps whole seconds. SessionFields::session_last_attached filters and reads the same field as the i64 of Unix seconds tmux reports, because the query grammar compares integers.

In other ports When a client last attached to a session
  • Python libtmux.Session.session_last_attached
  • Ruby No source-verified Ruby equivalent is recorded for this operation.
  • Lua No source-verified Lua equivalent is recorded for this operation.
  • TypeScript no equivalent on Session
  • Go tmux.Session.LastAttached
  • Java no equivalent on Session
  • .NET no equivalent on Session
  • C++ no equivalent on Session
  • Swift no equivalent on Session

0 declared, 0 inherited

Esc

Type to search.