On Tue, Aug 5, 2008 at 3:54 PM, Vesa Jääskeläinen <[EMAIL PROTECTED]> wrote:
> 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.

Hi,

I check my system, it only has 8 foreground and 8 background, the
highlight color can be enabled with the A_BOLD flag.

-- 
Bean


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to