opnsense-src/sys/dev/syscons/teken
Ed Schouten 6cecf41bf7 Fix for my previous commit: color mapping is not 1:1.
Cons25 doesn't seem to use a straight 1:1 mapping to the ANSI colors,
but uses the same color numbers as at least used by syscons on i386. I
suspect if you change the definitions on a different architecture,
things may break? Not sure.

Add a small array to convert syscons-style color codes to ANSI
equivalents, which are used by libteken internally. I didn't notice this
bug, because I only tested my code with black, white and green, all of
them shared the same numbers.
2009-01-17 23:01:40 +00:00
..
gensequences
Makefile
sequences Make vidcontrol's color setting work again. 2009-01-17 22:53:53 +00:00
teken.c Allow experimental libteken features to be tested without changing code. 2009-01-17 16:37:13 +00:00
teken.h Allow experimental libteken features to be tested without changing code. 2009-01-17 16:37:13 +00:00
teken_demo.c Allow experimental libteken features to be tested without changing code. 2009-01-17 16:37:13 +00:00
teken_stress.c
teken_subr.h Allow experimental libteken features to be tested without changing code. 2009-01-17 16:37:13 +00:00
teken_subr_compat.h Fix for my previous commit: color mapping is not 1:1. 2009-01-17 23:01:40 +00:00
teken_wcwidth.h