Added full ANSI colour range
authorJohn Hodge <[email protected]>
Tue, 22 Sep 2009 13:26:09 +0000 (21:26 +0800)
committerJohn Hodge <[email protected]>
Tue, 22 Sep 2009 13:26:09 +0000 (21:26 +0800)
Kernel/drv/vterm.c

index d945bda..e3e7813 100644 (file)
@@ -62,8 +62,8 @@ void  VT_int_UpdateScreen( tVTerm *Term, int UpdateAll );
 
 // === CONSTANTS ===
 const Uint16   caVT100Colours[] = {
-               VT_COL_BLACK, 0, 0, 0, 0, 0, 0, VT_COL_LTGREY,
-               VT_COL_GREY, 0, 0, 0, 0, 0, 0, VT_COL_WHITE
+               VT_COL_BLACK, 0x700, 0x070, 0x770, 0x007, 0x707, 0x077, VT_COL_LTGREY,
+               VT_COL_GREY, 0xF00, 0x0F0, 0xFF0, 0x00F, 0xF0F, 0x0FF, VT_COL_WHITE
        };
 
 // === GLOBALS ===

UCC git Repository :: git.ucc.asn.au