Function ncursesw::COLS[][src]

pub fn COLS() -> i32
Expand description

The number of columns (x-axis) available on the terminal

Example

let number_of_columns = COLS();

assert!(number_of_columns > 0);