Session
An immutable session observation with explicit actions. Attachment retains tmux's client count.
Source and package
-
Discussed in Getting started
In other ports A tmux session
- PowerShell
LibTmux\Get-TmuxSessionThis cmdlet reads and returns shared .NET
LibTmux.Sessionobjects. Child windows and panes require further acquisition. - Julia
LibTmux.SessionSnapshotSessionSnapshotholds captured session data. Actions use itsSessionRef, a typed identity bound to an observed daemon generation. - Python
- Ruby
- Lua
- TypeScript
- Rust
- Go
- Java
- C#
- C++
- Swift
- Kotlin
- Scala
- F#
LibTmux.FSharp.SessionThis F# module builds deferred child queries from a shared .NET
LibTmux.Sessionand its server association.Query.listacquires their results from tmux.
- PowerShell
Members11#
Collections and queries2#
Common operations5#
- id: String
.t () property Required: building the struct without this key is an error. - name: Lib
Tmux (String.Schema .observed .t ()) property - attached: Lib
Tmux (boolean()) property.Schema .observed - active_window/2 function Returns the captured active physical window, or
nilwhen none is active. - attached_count: Lib
Tmux (non.Schema .observed _neg ()) property_integer
Other members4#
- rename!/4 function Returns
:okwhenrename/4completes; raises API errors orLibTmux.Action.CompletionErrorotherwise. - rename/4 function Renames an exact session through the selected transport; returns an action result.
- server_instance: String
.t () property Required: building the struct without this key is an error. - t/0: t() :: %Lib
Tmux { attached: Lib.Session Tmux (boolean()), attached_count: Lib.Schema .observed Tmux (non.Schema .observed _neg ()), id: String_integer .t (), name: LibTmux (String.Schema .observed .t ()), server_instance: String.t () } typealias A session with explicit field coverage and an attachment count separate from its Boolean projection.