Skip to main content

Module session

Module session 

Source
Expand description

One window per stream session.

Structs§

SessionState
Per-session state owned by the main loop.
Sessions
All live sessions, keyed by id.
SharedStreamView
Forwards View calls into a shared StreamView.

Functions§

format_title
The name :port half of a window title, shared between the initial title set when a window is created and SessionState::window_title’s later connect/disconnect updates. Port 0 is not a real port — anonymous sessions and opened captures use it as a sentinel — so it is omitted rather than displayed as name :0.

Type Aliases§

SharedView
A StreamView addressable from both the desktop and the event pump.