File: size.rs

package info (click to toggle)
rust-termion 1.5.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 308 kB
  • sloc: makefile: 10
file content (7 lines) | stat: -rw-r--r-- 121 bytes parent folder | download | duplicates (19)
1
2
3
4
5
6
7
extern crate termion;

use termion::terminal_size;

fn main() {
    println!("Size is {:?}", terminal_size().unwrap())
}