ratatui_rlvgl/lib.rs
1#![no_std]
2#![warn(missing_docs)]
3//! A `no_std + alloc` Ratatui backend and rlvgl widget bridge.
4//!
5//! [`RlvglBackend`] implements Ratatui's retained terminal backend without
6//! borrowing a display. It writes into a shared [`RatatuiSurface`], while
7//! [`RatatuiView`] implements rlvgl's widget trait and paints that surface
8//! through the renderer supplied by the enclosing rlvgl tree.
9
10extern crate alloc;
11
12mod backend;
13mod color;
14pub mod compat;
15pub mod fonts;
16mod view;
17
18pub use backend::{
19 CellMetrics, CellRect, RatatuiSurface, RlvglBackend, RlvglBackendError, SurfaceDefaults,
20};
21pub use view::{InputKey, PointerKind, RatatuiTerminalFont, RatatuiView, RlvglInput};