Function pancurses::set_blink

source ·
pub fn set_blink(enabled: bool) -> i32
Expand description

Toggles whether the A_BLINK attribute sets an actual blink mode (TRUE), or sets the background color to high intensity (FALSE).

The default is platform-dependent (FALSE in most cases). It returns OK if it could set the state to match the given parameter, ERR otherwise. Current platforms also adjust the value of COLORS() according to this function – 16 for FALSE, and 8 for TRUE. (Only supported on Windows)