Skip to main content

Crate ftui_backend

Crate ftui_backend 

Source
Expand description

Backend traits for FrankenTUI: platform abstraction for input, presentation, and time.

This crate defines the boundary between the ftui runtime and platform-specific implementations (native terminal via ftui-tty, WASM via ftui-web).

See ADR-008 for the design rationale.

Structs§

BackendFeatures
Terminal feature toggles that backends must support.

Traits§

Backend
Unified backend combining clock, event source, and presenter.
BackendClock
Monotonic clock abstraction.
BackendEventSource
Event source abstraction: terminal size queries, feature toggles, and event I/O.
BackendPresenter
Presentation abstraction: UI rendering and log output.