Skip to main content

UI_GLYPHS

Constant UI_GLYPHS 

Source
pub const UI_GLYPHS: &str = "─│┌┐└┘├┤┬┴┼═║╔╗╚╝█▓▒░▀▄▌▐▶◀▲▼•·√";
Expand description

The characters the font holds below the printable range, slot i holding character i: light and double box lines, blocks and shades, arrows, markers and a tick — what a terminal UI draws with. Slots 0x20–0x7E are ASCII and slot 0x7F holds DEL_GLYPH. A host maps a Unicode character to its slot by this table, and scripts/dev/gen-terminal-font.py builds the font ROM by it.