Session.last_attached
Return when a client last attached.
Source and package
-
Description#
This is
Nonefor a session that has never been attached, which is the ordinary state for one started withnew-session -d. tmux keeps whole seconds.SessionFields::session_last_attachedfilters and reads the same field as thei64of Unix seconds tmux reports, because the query grammar compares integers.
In other ports#
When a client last attached to a session
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | no equivalent on Session |
| Go | tmux |
| Java | no equivalent on Session |
| C# | no equivalent on Session |
| C++ | no equivalent on Session |
| Swift | no equivalent on Session |
| OCaml | No direct public OCaml equivalent is recorded for this operation. |
| Perl | No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands. |
No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.