Guide API
Skip to main content

xterm16_to_bios

Function xterm16_to_bios 

Source
pub const fn xterm16_to_bios(idx: u8) -> u8
Expand description

Convert an xterm-16 index to a BIOS colour index.

Identical bit-swap as bios_to_xterm16 — the function is its own inverse.