Crate color_char

source ·
Expand description

Colored Character

The first 11 bits represent the color, up to 2^11 = 2048 colors.

The last 24 bits represent a unicode character, up to 2^21 = 2097152 characters.

Structs

A colored character, has the same memory layout as u32.