KetraTerm
API · DevelopmentAll versions

Package-level declarations

Types

Link copied to clipboard
object AnsiMode

Standard ANSI modes used in terminal emulation.

Link copied to clipboard

ANSI/ECMA-48 C0, DEL, and C1 control-code byte values.

Link copied to clipboard

Common DEC private modes used in terminal emulation.

Link copied to clipboard

Packed visual-attribute selection bits used by DEC rectangular attribute operations.

Link copied to clipboard

Mouse report encoding selected by xterm private modes.

Link copied to clipboard

Mouse tracking selection toggled by DECSET private modes.

Link copied to clipboard

Severity level of a desktop notification.

Link copied to clipboard
data class ShellIntegrationEvent(val marker: ShellIntegrationMarker, val exitCode: Int? = null)

Host-facing OSC 133 shell integration event.

Link copied to clipboard

Semantic markers emitted by FinalTerm-style OSC 133 shell integration.

Link copied to clipboard

KetraTerm's advertised terminal identity and capability contract.

Link copied to clipboard

Validated OSC 52 selectors in request order, without duplicates. Empty selection means the host clipboard; primary, secondary and cut-buffer selectors remain distinct even when a host cannot supply them.

Link copied to clipboard
class TerminalColorRequest(capacity: Int)

Reusable, ordered OSC 21 operations with borrowed original key bytes.

Link copied to clipboard

Borrowed Kitty graphics controls. Values retain their wire units and omission; character-valued controls use their ASCII code. IDs are unsigned 32-bit values represented as Long. Valid only during the receiving command callback. Keys retain the Kitty protocol's case-sensitive spelling: for example i selects an image ID while I selects an image number. Coordinates and sizes have not been converted from their wire units. Consumers apply operation defaults with valueOr and must not retain this reusable view.

Link copied to clipboard

KetraTerm admission limits, not Kitty wire constants or a total JVM memory cap. Retained counts cover both screens and history; external consumers may retain immutable image versions after core releases them.

Link copied to clipboard

Graphics validation/admission outcomes. reply is fixed ASCII text without input-derived content; the host still applies reply eligibility and permission.

Link copied to clipboard

Host actions available to DEC mode status reporting, independently of permission or acceptance of an individual request. Embedders opt in only for implemented actions.

Link copied to clipboard

Wire values of the DECRPM mode-status parameter.

Link copied to clipboard

Portable OSC 22 pointer shapes with faithful predefined desktop cursors. Wire names are CSS names; they are independent of terminal text-cursor shapes.

Link copied to clipboard

Shared bounds on retained terminal text, independent of segmentation and cell width.