mirror of
https://github.com/opnsense/src.git
synced 2026-05-04 17:05:14 -04:00
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. |
||
|---|---|---|
| .. | ||
| gensequences | ||
| Makefile | ||
| sequences | ||
| teken.c | ||
| teken.h | ||
| teken_demo.c | ||
| teken_stress.c | ||
| teken_subr.h | ||
| teken_subr_compat.h | ||
| teken_wcwidth.h | ||