termion/examples/size.rs

8 lines
121 B
Rust
Raw Normal View History

2016-03-15 20:36:33 +00:00
extern crate termion;
2016-03-08 09:08:50 +00:00
2016-03-15 20:36:33 +00:00
use termion::terminal_size;
2016-03-08 09:08:50 +00:00
fn main() {
println!("Size is {:?}", terminal_size().unwrap())
}