KetraTerm
API · v0.2.2All versions

TerminalReplayEvent

sealed interface TerminalReplayEvent

One deterministic operation in a headless terminal replay.

Input events preserve transport chunk boundaries: every Input is delivered to the parser by one accept call. Resize and end-of-input events remain in the same ordered stream, allowing transcripts to reproduce timing-sensitive parser, reflow, and flush behavior without a PTY.

Inheritors

Types

Link copied to clipboard

Flushes parser state exactly where the recorded host stream ended.

Link copied to clipboard

One immutable host-output byte chunk.

Link copied to clipboard
data class Resize(val columns: Int, val rows: Int) : TerminalReplayEvent

Resizes the headless terminal between input chunks.