textual 1.0.0-dev

A reactive TUI framework inspired by the Python Textual library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use thiserror::Error;

#[derive(Debug, Error)]
pub enum Error {
    #[error("terminal driver error: {0}")]
    Terminal(#[from] std::io::Error),
    #[error("text area language error: {0}")]
    TextAreaLanguage(String),
    #[error("app runtime stopped")]
    RuntimeStopped,
}

pub type Result<T> = std::result::Result<T, Error>;