Function ncursesw::pair_content
source · [−]pub fn pair_content(color_pair: short_t) -> Result<Colors, NCurseswError>
👎 Deprecated since 0.4.0:
Use normal::ColorPair::colors() or shims::ncurses::pair_content() instead
Expand description
Return a structure containing the colors for the requested color pair.
The value of color_pair
must be between 1 and COLOR_PAIRS - 1.