tui_lib 0.1.8

A Library to Be the base of a Tui Operation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::{error::Error, fmt::Debug};

use crate::tui_events::TuiEvents;

pub trait InputInterfaceT: Debug {
    fn new() -> Result<Self, Box<dyn Error>>
    where
        Self: Sized;
    fn read_parsed(&self) -> TuiEvents;
    fn read_raw(&self) -> Option<char>;
    fn read_raw_immediate(&self) -> Option<char>;
}