Function ncursesw::COLOR_PAIRS[][src]

pub fn COLOR_PAIRS() -> i32
Expand description

The number of color pairs available

Example

let number_of_color_pairs = COLOR_PAIRS();

assert!(number_of_color_pairs > 0);