|
From: | Vesa Jääskeläinen |
Subject: | Re: [PATCH] Fix color problem the grub-emu |
Date: | Tue, 05 Aug 2008 10:54:36 +0300 |
User-agent: | Thunderbird 2.0.0.16 (Windows/20080708) |
Bean wrote:
Hi, Currently, the color handling in grub-emu is broken, sometimes you see nothing on screen. This patch fix it, now variable menu_color_normal and menu_color_highlight works properly in grub-emu.
+ +static grub_uint8_t color_map[NUM_COLORS] = +{ + COLOR_BLACK, + COLOR_BLUE, + COLOR_GREEN, + COLOR_CYAN, + COLOR_RED, + COLOR_MAGENTA, + COLOR_YELLOW, + COLOR_WHITE +}; +
Doesn't also ncurses have 16 different colors for foreground and 8 for background? This is at least quite common for terminals.
On some terminals there is one bit controlling background highlight colors or text blinking.
[Prev in Thread] | Current Thread | [Next in Thread] |