KetraTerm
API · v0.3.0All versions

TerminalConformanceSnapshot

data class TerminalConformanceSnapshot(val columns: Int, val visibleRows: Int, val historyRows: Int, val discardedRows: Long, val liveRowStart: Int, val activeBuffer: TerminalSnapshotBufferKind, val cursor: TerminalCursorSnapshot, val modes: TerminalModeStateSnapshot, val retainedRows: List<TerminalRowSnapshot>, val windowTitle: String, val iconTitle: String, val activeHyperlinkUri: String?, val activeHyperlinkId: String?, val outboundBytes: TerminalByteSequence)

Canonical observable result of a parser-to-core terminal replay.

retainedRows contains history first and the live grid last. liveRowStart is therefore the index of live row zero. Generation counters and internal storage handles are deliberately excluded because they are implementation details rather than terminal semantics.

Constructors

Link copied to clipboard
constructor(columns: Int, visibleRows: Int, historyRows: Int, discardedRows: Long, liveRowStart: Int, activeBuffer: TerminalSnapshotBufferKind, cursor: TerminalCursorSnapshot, modes: TerminalModeStateSnapshot, retainedRows: List<TerminalRowSnapshot>, windowTitle: String, iconTitle: String, activeHyperlinkUri: String?, activeHyperlinkId: String?, outboundBytes: TerminalByteSequence)

Properties

Link copied to clipboard

active primary or alternate screen.

Link copied to clipboard

currently active OSC 8 client id, or null.

Link copied to clipboard

currently active OSC 8 URI, or null.

Link copied to clipboard

terminal width in cells.

Link copied to clipboard

detached live-grid cursor state.

Link copied to clipboard

total history rows evicted by capacity limits.

Link copied to clipboard

number of retained rows preceding the live viewport.

Link copied to clipboard

host-adapter icon title metadata.

Link copied to clipboard

first live-grid row within retainedRows.

Link copied to clipboard

detached semantic mode state.

Link copied to clipboard

cumulative terminal-to-host response bytes.

Link copied to clipboard

complete retained grid from oldest history to live bottom.

Link copied to clipboard

live viewport height.

Link copied to clipboard

host-adapter window title metadata.