Struct term::terminfo::TerminfoTerminal
[−]
[src]
pub struct TerminfoTerminal<T> {
// some fields omitted
}Unstable
: use the crates.io term library instead
A Terminal that knows how many colors it supports, with a reference to its parsed Terminfo database record.
Methods
impl<T: Write + Send + 'static> TerminfoTerminal<T>
fn new(out: T) -> Option<Box<Terminal<T> + Send + 'static>>
Unstable
: use the crates.io term library instead
Returns None whenever the terminal cannot be created for some
reason.