Function any_terminal_size::any_terminal_size[][src]

pub fn any_terminal_size() -> Option<(Width, Height)>
Expand description

Returns the size of the terminal of the current process or one of its parents, if available. Iostreams are queried in stdout, stderr and stdin order.

Return None on Error.