KetraTerm
API · v0.2.2All versions

TerminalModeStateSnapshot

data class TerminalModeStateSnapshot(val insertMode: Boolean, val autoWrap: Boolean, val applicationCursorKeys: Boolean, val applicationKeypad: Boolean, val backarrowKeyModeExplicit: Boolean, val backarrowKeySendsBackspace: Boolean, val originMode: Boolean, val newLineMode: Boolean, val leftRightMarginMode: Boolean, val reverseVideo: Boolean, val cursorVisible: Boolean, val cursorBlinking: Boolean, val bracketedPaste: Boolean, val focusReporting: Boolean, val ambiguousWidthIsWide: Boolean, val mouseTrackingMode: String, val mouseEncodingMode: String, val modifyOtherKeysMode: Int, val formatOtherKeysMode: Int, val kittyKeyboardFlags: Int, val synchronizedOutput: Boolean, val bellIsUrgent: Boolean, val popOnBell: Boolean)

Semantic durable-mode snapshot for differential comparisons.

Enum-backed modes use their stable protocol enum names rather than leaking core implementation types into serialized conformance fixtures.

Constructors

Link copied to clipboard
constructor(insertMode: Boolean, autoWrap: Boolean, applicationCursorKeys: Boolean, applicationKeypad: Boolean, backarrowKeyModeExplicit: Boolean, backarrowKeySendsBackspace: Boolean, originMode: Boolean, newLineMode: Boolean, leftRightMarginMode: Boolean, reverseVideo: Boolean, cursorVisible: Boolean, cursorBlinking: Boolean, bracketedPaste: Boolean, focusReporting: Boolean, ambiguousWidthIsWide: Boolean, mouseTrackingMode: String, mouseEncodingMode: String, modifyOtherKeysMode: Int, formatOtherKeysMode: Int, kittyKeyboardFlags: Int, synchronizedOutput: Boolean, bellIsUrgent: Boolean, popOnBell: Boolean)

Properties

Link copied to clipboard

whether East Asian Ambiguous characters occupy two cells.

Link copied to clipboard

whether DECCKM cursor-key encoding is active.

Link copied to clipboard

whether application keypad mode is active.

Link copied to clipboard

whether DECAWM wrapping is enabled.

Link copied to clipboard

whether DECBKM was explicitly selected.

Link copied to clipboard

whether explicit DECBKM emits BS rather than DEL.

Link copied to clipboard

whether urgent-bell mode is active.

Link copied to clipboard

whether bracketed paste reporting is enabled.

Link copied to clipboard

whether the terminal cursor is configured to blink.

Link copied to clipboard

whether DECTCEM cursor visibility is enabled.

Link copied to clipboard

whether focus in/out reporting is enabled.

Link copied to clipboard

active xterm format-other-keys layout.

Link copied to clipboard

whether IRM inserts rather than replaces cells.

Link copied to clipboard

active Kitty progressive keyboard flags.

Link copied to clipboard

whether DECLRMM horizontal margins are active.

Link copied to clipboard

active xterm modify-other-keys level.

Link copied to clipboard

stable active mouse-encoding enum name.

Link copied to clipboard

stable active mouse-tracking enum name.

Link copied to clipboard

whether LF also performs carriage return.

Link copied to clipboard

whether cursor addressing is relative to active margins.

Link copied to clipboard

whether pop-on-bell mode is active.

Link copied to clipboard

whether DECSCNM reverse-video presentation is active.

Link copied to clipboard

whether synchronized-output mode is active.