Function ncursesw::COLOR_PAIR [−][src]
Expand description
Extracts the raw color pair attribute value of a color pair
Example
let colors1 = Colors::new(Color::Red, Color::Black);
let color_pair1 = ColorPair::new(colors1)?;
assert!(COLOR_PAIR(color_pair1) > 0);