tuil
ReferencePackages

@mwillbanks/tuil-renderer

Renderer-neutral layout, frame scheduling, terminal integration, and backend contracts for tuil.

View rawEdit

Overview

Renderer-neutral layout, frame scheduling, terminal integration, and backend contracts for tuil.

@mwillbanks/tuil-renderer is independently installable and also participates in the umbrella @mwillbanks/tuil runtime where applicable.

Installation

npm install @mwillbanks/tuil-renderer

How it operates

Renderer contracts separate application behavior from backend mount, frame, layout projection, hit testing, terminal session, scheduling, and static-output concerns.

Documentation flow diagram. register backend; mount; schedule/project; output; unmount; S0 leads to S1; S1 leads to S2; S2 leads to S3
Documentation flow diagram. register backend; mount; schedule/project; output; unmount; S0 leads to S1; S1 leads to S2; S2 leads to S3

API

No public declarations were discovered.

Events and lifecycle

Backends consume normalized input and expose deterministic frame and lifecycle results.

All subscriptions and registrations return a disposer or belong to an owning runtime that disposes them in reverse order.

Example

const registry = new RendererRegistry();
registry.register("cell", backend);

On this page