Function ncursesw::COLORS[][src]

pub fn COLORS() -> i32
Expand description

The Number of colors available

Example

let number_of_colors = COLORS();

assert!(number_of_colors > 0);