tty-interface 4.0.2

Provides simple TTY-based interface capabilities including partial re-renders of multi-line displays.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use thiserror::Error as ThisError;

/// An interface operation's result containing either a successful value or error.
pub type Result<T> = std::result::Result<T, Error>;

/// A failed interface operation's error information.
#[derive(ThisError, Debug)]
pub enum Error {
    #[error("terminal interaction error")]
    Terminal(#[from] std::io::Error),
}