Method lrs::tty::Tty::window_size

Returns the size of the terminal window.

Syntax

impl Tty {
    fn window_size(&self) -> Result<(u16, u16), Errno>
}

Return value

Returns (width, height).

See also