termion/examples/size.rs

8 lines
121 B
Rust

extern crate termion;
use termion::terminal_size;
fn main() {
println!("Size is {:?}", terminal_size().unwrap())
}