Server.Session
Session performs a canonical live lookup of id and returns a newly materialized record. Use Session.Refresh when beginning from a record.
Source and package
- Qualified name
-
tmux.Server. Session - Package
- tmux
- Declared in
Server- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/lookup.go
- Other languages
- Perlmethod Erlang PowerShell Julia Elixir Haskell Common Lisp Python Ruby Lua TypeScript Rust Java C#C++ Swift Kotlin Scala OCamlfunction F# Clojure
tmux command#
The tmux commands behind Session.
list-sessions run-shell (the Server has no daemon identity) tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Look one session up by target
| Language | Equivalent |
|---|---|
| Python | no equivalent on Server |
| Ruby | Lib |
| Erlang | tmux |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | no equivalent on Server |
| Rust | server |
| Java | no equivalent on Server |
| C# | Lib |
| C++ | libtmux:: |
| Swift | no equivalent on Server |
| OCaml | Libtmux Exact opaque-ID lookup in an existing snapshot, without I/O or tmux target expansion. |
| Perl | Lib Captured stable-ID lookup returns an entity or undef. Use Selection::one for strict criteria/name lookup. |
No equivalent is recorded in Lua, PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.