[][src]Trait alacritty_terminal::grid::Dimensions

pub trait Dimensions {
    fn total_lines(&self) -> usize;
fn screen_lines(&self) -> Line;
fn cols(&self) -> Column; fn history_size(&self) -> usize { ... } }

Grid dimensions.

Required methods

fn total_lines(&self) -> usize

Total number of lines in the buffer, this includes scrollback and visible lines.

fn screen_lines(&self) -> Line

Height of the viewport in lines.

fn cols(&self) -> Column

Width of the terminal in columns.

Loading content...

Provided methods

fn history_size(&self) -> usize

Number of invisible lines part of the scrollback history.

Loading content...

Implementors

impl<G> Dimensions for Grid<G>[src]

impl<T> Dimensions for Term<T>[src]

Loading content...