pub fn COLOR_PAIRS() -> i32
The number of color pairs available
let number_of_color_pairs = COLOR_PAIRS(); assert!(number_of_color_pairs > 0);