Skip to main content

Crate ratatui_rlvgl

Crate ratatui_rlvgl 

Source
Expand description

A no_std + alloc Ratatui backend and rlvgl widget bridge.

RlvglBackend implements Ratatui’s retained terminal backend without borrowing a display. It writes into a shared RatatuiSurface, while RatatuiView implements rlvgl’s widget trait and paints that surface through the renderer supplied by the enclosing rlvgl tree.

Modules§

compat
RLVGL-owned portable cell widgets over unmodified Ratatui core primitives.
fonts
Curated-Unicode, anti-aliased terminal font family (RATATUI-00a, §6).

Structs§

CellMetrics
Pixel geometry of one terminal cell.
CellRect
Cell-space rectangle used for dirty-region reporting.
RatatuiSurface
Shared retained cell surface written by RlvglBackend and painted by RatatuiView.
RatatuiView
rlvgl widget that paints a shared Ratatui cell surface.
RlvglBackend
A Ratatui backend that retains cells for an rlvgl RatatuiView.
SurfaceDefaults
Default colors used to resolve Ratatui’s Color::Reset.

Enums§

InputKey
Backend-neutral key vocabulary emitted by RatatuiView.
PointerKind
Pointer transition translated from an rlvgl event.
RatatuiTerminalFont
Terminal font family selected by RatatuiView for glyph rendering (RATATUI-00 §6.2, §7).
RlvglBackendError
Errors produced by RlvglBackend.
RlvglInput
Input delivered by an RatatuiView to its consumer.