tui_lib 0.1.8

A Library to Be the base of a Tui Operation
Documentation
1
2
3
4
5
6
7
8
use std::error::Error;

use super::tui_io::{InputInterface, OutputInterface, TerminalState};

pub trait TerminalTrait {
    fn setup_terminal() -> Result<(InputInterface, OutputInterface, TerminalState), Box<dyn Error>>;
    fn reset_terminal_settings(input_interface: &InputInterface, terminal_state: &TerminalState);
}