pub fn get() -> Option<Size>
Gets the current terminal size
1pub fn main() { 2 match termsize::get() { 3 Some(size) => println!("{:?}", size), 4 _ => println!("not a term"), 5 } 6}