Function libnotcurses_sys::nccapability_canchangecolor[][src]

pub fn nccapability_canchangecolor(caps: &NcCapabilities) -> bool
Expand description

Can we set the “hardware” palette?

Requires the “ccc” terminfo capability, and that the number of colors supported is at least the size of our NcPalette structure.