Skip to main content

promkit_core/
lib.rs

1pub use crossterm;
2
3pub mod grapheme;
4// TODO: reconciliation (detecting differences between old and new grapheme trees)
5pub mod render;
6pub mod terminal;
7
8pub trait Widget {
9    /// Creates styled graphemes with the given width and height.
10    fn create_graphemes(&self, width: u16, height: u16) -> grapheme::StyledGraphemes;
11}