hottyHTML over the TTY

☰ Contents · Reference › Glossary

Glossary

Each term links to its normative definition in SPEC.md or SDK.md.

  • area: A cell rectangle (c, r, w, h) reporting an element's bounds in an event (§9) or a touch-drag region (§9.6).
  • backdrop: A placement rendered behind terminal cells instead of above them (b=1), supported when the host advertises backdrop (§5.2).
  • capability: A key-value field in the host's startup query response, such as protocol version, cell dimensions, or supported features (§4).
  • cell: One character slot in the terminal grid. Placement coordinates and sizes are measured in cells (§5.3).
  • cut: "cut": true on a dragend that something other than the user's release ended: a gesture, a new document, the placement going away, or a lost pointer (§9.1).
  • delta: A batched list of DOM ops applied atomically to a surface (§6.1).
  • document: The HTML markup stored for a surface via a=doc (§5.1).
  • event: User interaction reported by the host on stdin via a=ev (§9).
  • feature: An optional host capability advertised during handshake: passthrough, hover, count, menu, or backdrop (§4).
  • finger: A small number in each event of a touch's drag, 0 for the first finger down, so a program can tell two fingers' drags apart (§9.1).
  • gesture: Two or more fingers on an element with gesture in data-on, or a touchpad's pinch over it, reported as one transform: scale, angle, and the fingers' centre (§9.8).
  • host: The terminal, addon, multiplexer, or proxy responsible for rendering surfaces (§2).
  • keymap: Key bindings declared on an element (data-keys) or inherited from ancestors (data-keys-inner), falling back to <body> when nothing is focused (§10.2).
  • morph: Replacing an element's subtree with updated HTML while preserving focus, selection, and scroll state (§6.2).
  • op: A single mutation inside a delta (text, attr, var, morph, etc.) targeting an element by id (§6.1).
  • placement: A visible rectangle of cells displaying a surface, created with a=place (§5.2).
  • pointer kind: "mouse", "pen", or "touch", the device that made a click, press, drag, gesture, or wheel event, as Pointer Events name it; a touchpad is "mouse". The pointer event tells the program when the kind changes (§9).
  • precise: On a wheel event, true when the device scrolls by pixels (a touchpad, a free-spinning wheel) and false for a wheel's notches (§9.9).
  • prefix: A bound key that forwards itself and subsequent keystrokes directly to the program until released via a=focus, a=blur, focus loss, or a pointer press (§10.5).
  • program: The terminal application emitting surfaces and handling events (§2).
  • rendition: One of the three output modes an SDK supports: HTML surfaces, character cells, or plain data (SDK.md §2.5).
  • resource: Binary payload with a MIME type (such as an image or SVG) transmitted in-band via a=res and referenced as cid:<id> (§7.1).
  • rev: Monotonic edit counter on a form control, included in input/change events and checked by a=field updates (§6.4).
  • surface: A named HTML document and at most one active placement displaying it (§5).
  • window: The visible sub-region of a surface selected by x, y, w, h on a=place (§5.2).

See How hotty works to trace these pieces through a single round trip.

Loading hotty-demo…