Skip to main content

terminal_size

Function terminal_size 

Source
pub fn terminal_size() -> Option<(u16, u16)>
Expand description

Width and height of the terminal on stdout, if it is one.