lux.color a LUX module
LUX’s terminal utility module.
The terminal output functions take strings with formatted colors as
arguments. That means sush string may have a color tag. There are three types
of color tags: attributes, foreground and background colors. Tags must be
given between <
and >
. Once used, a tag remains
active in the terminal, until some other tag overwrites it. Note that the
color tag remains active even after the program has finished.
Atribute tags:
reset
clear
bright
dim
underscore
blink
reverse
hidden
Foreground color tags:
black
red
green
yellow
blue
magenta
cyan
white
Background color tags:
onblack
onred
ongreen
onyellow
onblue
onmagenta
oncyan
onwhite