[−][src]Function termimad::terminal_size
pub fn terminal_size() -> (u16, u16)
Return a (width, height) with the dimensions of the available terminal in characters.
If we failed to measure the width, we replace it with DEFAULT_TERMINAL_WIDTH.