Function ncursesw::COLS [−][src]
pub fn COLS() -> i32
Expand description
Return the number of columns (x-axis) available on the terminal.
Example
extern crate ncursesw;
use ncursesw::*;
let number_of_columns = COLS();
assert!(number_of_columns > 0);