promkit-core 0.4.0

Core library for promkit
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub use crossterm;

pub mod grapheme;
// TODO: reconciliation (detecting differences between old and new grapheme trees)
pub mod render;
pub mod terminal;

pub trait Widget {
    /// Creates styled graphemes with the given width and height.
    fn create_graphemes(&self, width: u16, height: u16) -> grapheme::StyledGraphemes;
}