Headless terminal exposing Ghostty VT parsing, input encoding, selection, and snapshots.
Validated accessor for Ghostty's generated WASM ABI manifest.
Error returned by a failed Ghostty WASM operation.
Thrown when a Ghostty WASM build has an incompatible or incomplete ABI manifest.
Text attributes attached to a rendered cell.
One MIME-typed clipboard payload.
MIME representations supplied for a user-initiated clipboard paste.
Resource limits for an enabled Kitty clipboard protocol integration.
Clipboard write requested by terminal output.
WebAssembly sources used to initialize a headless Ghostty runtime.
Initial options shared by headless and browser terminals.
A resource that can be released deterministically.
Target ABI recorded alongside a vendored Ghostty build.
Reproducibility and ABI metadata for the vendored Ghostty WASM.
A physical or composed keyboard input sent to Ghostty.
Validated result returned by loadGhostty.
A pointer input in terminal backing-surface coordinates.
Result of encoding a pointer action.
One visible terminal cell.
A normalized color used in render snapshots.
Resolved colors for a render frame.
Cursor state for a render frame.
Incremental frame produced after parsing or invalidation.
One rendered row and its cell-level details.
Selected columns on a rendered row.
Fully normalized terminal theme.
An RGB color with an alpha channel between 0 and 1.
An RGB color with channels in the inclusive 0-255 range.
Formatting options for selected terminal text.
Half-open absolute row range within the active terminal buffer.
A row returned by the paged terminal buffer API.
Buffer metadata and a requested page of rows captured together.
Active screen and scroll position metadata for terminal buffer consumers.
Current pen attributes used when the parser writes the next cell.
Event payloads emitted by the headless terminal core.
Character-grid and backing-surface dimensions for a terminal.
Bytes and origin emitted by a terminal input operation.
Stable terminal mode state queried directly from Ghostty.
Desktop notification requested by terminal output.
Progress state and optional percentage reported by terminal output.
Colors used to render the terminal and its ANSI palette.
Painted viewport notification carrying the authoritative buffer state.
Complete snapshot of the visible viewport.
The color encoding authored by terminal output before theme palette resolution.
Display-width role of a rendered cell.
Clipboard destination used by OSC 52 and the Kitty clipboard protocol.
Result of applying a MIME-aware clipboard paste to the current terminal state.
Cursor shape requested by the terminal application.
Amount of terminal content invalidated by the latest parse.
Origin of bytes emitted toward a PTY.
Lifecycle phase for a key input event.
Pointer-button lifecycle phase.
Mouse button names understood by Ghostty.
OSC progress-report state.
Semantic role reported for terminal content.
A portable CSS color string or structured RGB(A) value.
Light or dark visual appearance advertised to terminal applications.
A URL, bytes, response, or compiled module accepted as a WebAssembly source.
Default callback bridge WASM URL emitted and rewritten by consumer bundlers.
Default Ghostty VT WASM URL emitted and rewritten by consumer bundlers.
Metadata and checksum for the vendored nightly Ghostty WASM build.
Creates and initializes a shared headless Ghostty runtime.
Instantiates the callback bridge with host functions used by Ghostty terminals.
Loads, validates, and instantiates a Ghostty VT WASM module.
Shared headless Ghostty WASM runtime that creates and owns terminal instances.