Function libnotcurses_sys::ffi::ncdirect_palette_size [−][src]
pub unsafe extern "C" fn ncdirect_palette_size(nc: *const ncdirect) -> c_uint
Expand description
Returns the number of simultaneous colors claimed to be supported, or 1 if there is no color support. Note that several terminal emulators advertise more colors than they actually support, downsampling internally.