Function termsize::get

source ยท
pub fn get() -> Option<Size>
Expand description

Gets the current terminal size

Examples found in repository?
examples/ts.rs (line 2)
1
2
3
pub fn main() {
    println!("{:?}", termsize::get().unwrap());
}