Skip to content

@jsvision/core / QueryResponse

Interface: QueryResponse

Defined in: input/events.ts:78

A recognised terminal query reply (device attributes, version, mode report), used by capability detection.

Never part of InputEvent; returned in DecodeResult.queries so a reply cannot be delivered as a keystroke. 'unknown' is reserved for reply shapes the decoder routes here without classifying.

Properties

kind

readonly kind: "unknown" | "da1" | "da2" | "xtversion" | "decrpm"

Defined in: input/events.ts:82

The reply classification.


raw

readonly raw: Uint8Array

Defined in: input/events.ts:80

The raw recognised bytes, for the capability layer to parse further.