[][src]Function ncursesw::free_pair

pub fn free_pair<P, T>(color_pair: P) -> Result<(), NCurseswError> where
    P: ColorPairType<T>,
    i32: From<T>,
    T: ColorAttributeTypes
Deprecated since 0.1.3:

use with caution as the specified color_pair must go out of scope before reuse of it's color pair number otherwise the color pair will default to terminal default foreground and backgound colors.

Marks the given color pair as unused, i.e., like color pair 0.