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
..
2009-01-14 14:20:08 +00:00
2009-01-16 19:31:27 +00:00
2009-01-13 22:15:47 +00:00
2009-01-14 10:44:16 +00:00
2009-01-14 21:31:22 +00:00
2008-12-04 16:31:08 +00:00
2008-12-29 12:58:45 +00:00
2009-01-17 16:37:13 +00:00
2008-12-23 16:49:07 +00:00
2009-01-12 19:23:46 +00:00
2008-10-01 22:08:53 +00:00
2009-01-17 23:01:40 +00:00
2009-01-13 22:35:26 +00:00
2009-01-11 13:51:04 +00:00
2009-01-04 15:56:49 +00:00
2009-01-13 19:05:10 +00:00
2008-12-17 06:56:58 +00:00
2008-11-18 21:01:54 +00:00
2009-01-17 07:17:57 +00:00
2008-11-12 15:31:05 +00:00
2008-12-05 21:19:24 +00:00
2009-01-16 08:38:03 +00:00
2009-01-13 18:49:35 +00:00
2009-01-16 09:01:45 +00:00
2009-01-11 18:59:14 +00:00
2008-10-23 15:53:51 +00:00
2009-01-08 17:51:15 +00:00
2009-01-15 19:35:23 +00:00
2009-01-12 11:24:32 +00:00
2009-01-05 20:29:01 +00:00
2008-12-11 10:29:35 +00:00
2008-10-23 15:53:51 +00:00
2008-10-23 15:53:51 +00:00
2008-11-03 14:23:15 +00:00
2008-10-28 13:44:11 +00:00
2008-12-02 21:37:28 +00:00
2008-12-16 04:34:09 +00:00
2008-11-12 15:30:30 +00:00
2008-10-30 16:11:07 +00:00
2009-01-15 11:54:31 +00:00
2008-12-22 00:53:47 +00:00
2009-01-15 02:52:31 +00:00
2008-11-12 12:21:18 +00:00
2009-01-14 12:16:14 +00:00
2009-01-01 14:01:21 +00:00
2008-12-20 15:11:00 +00:00
2009-01-17 07:17:57 +00:00
2008-11-03 19:57:40 +00:00
2009-01-08 12:49:55 +00:00
2009-01-03 13:24:08 +00:00
2008-11-13 14:36:52 +00:00
2008-12-29 06:31:03 +00:00