pub type NcCapabilities = nccapabilities;Expand description
Capabilities, derived from terminfo, environment variables, and queries.
Aliased Type§
#[repr(C)]pub struct NcCapabilities {
pub colors: u32,
pub utf8: bool,
pub rgb: bool,
pub can_change_colors: bool,
pub halfblocks: bool,
pub quadrants: bool,
pub sextants: bool,
pub braille: bool,
}Fields§
§colors: u32size of palette for indexed colors
utf8: boolare we using utf-8 encoding? from nl_langinfo(3)
rgb: bool24bit color? COLORTERM/heuristics/terminfo ‘rgb’
can_change_colors: boolcan we change the palette? terminfo ‘ccc’
halfblocks: boolwe assume halfblocks, but some are known to lack them
quadrants: booldo we have (good, vetted) Unicode 1 quadrant support?
sextants: booldo we have (good, vetted) Unicode 13 sextant support?
braille: booldo we have Braille support? (linux console does not)