lv-tui 0.1.1

A reactive TUI framework for Rust, inspired by Textual and React
Documentation
pub mod app;
pub mod backend;
pub mod buffer;
pub mod component;
pub mod dirty;
pub mod event;
pub mod geom;
pub mod layout;
pub mod node;
pub mod prelude;
pub mod render;
pub mod runtime;
pub mod style;
pub mod style_parser;
pub mod widgets;

pub use lv_tui_macros::Component;

/// lv-tui Result 类型别名
pub type Result<T> = std::result::Result<T, Error>;

/// lv-tui 错误类型
#[derive(Debug, thiserror::Error)]
pub enum Error {
    #[error("IO error: {0}")]
    Io(#[from] std::io::Error),

    #[error("Terminal error: {0}")]
    Terminal(String),
}