term_model::ansi

Trait TermInfo

Source
pub trait TermInfo {
    // Required methods
    fn lines(&self) -> Line;
    fn cols(&self) -> Column;
}
Expand description

Trait that provides properties of terminal

Required Methods§

Source

fn lines(&self) -> Line

Source

fn cols(&self) -> Column

Implementors§

Source§

impl<T> TermInfo for Term<T>