Lynx/Packages/Runtime Terminal
@sigx/runtime-terminal · Preview

Runtime Terminal#

The renderer. Walks your component tree into ANSI lines and paints them — render modes, layered key dispatch, color-depth detection, output targets and reactive terminal size. The host platform for @sigx/runtime-core.

v0.6.2 MIT

The @sigx/terminal umbrella re-exports this package, so most apps never install it directly — it is to the terminal what @sigx/runtime-dom is to the web:

Terminal
pnpm add @sigx/runtime-terminal

What lives here#

  • Render modes — fullscreen (alternate screen), inline live regions and one-shot static rendering, plus the mount options that pick between them. See Render modes.
  • Layered key dispatch — the focus model interactive components plug into. See Input & interactive components.
  • Terminal capabilities — color-depth detection, output targets and the reactive terminal size the layout engine tracks.

Next steps#

See where it sits in the stack in Architecture, or jump to the API reference.