Expand description
A session’s output history: the last capacity bytes of everything its
terminal wrote, addressed by offset in the whole stream (spec §7.2). A
reattach asks for “everything after offset N” and gets it, or, when N has
fallen out, everything still held plus how much was lost.
Held in memory (8 MB by default per session): the spec’s on-disk ring would outlive the daemon, but the sessions themselves cannot (their terminals are the daemon’s), so memory loses nothing that disk would keep.
Structs§
Constants§
- DEFAULT_
CAPACITY - The default history per session.