grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix color problem the grub-emu


From: Bean
Subject: [PATCH] Fix color problem the grub-emu
Date: Sat, 2 Aug 2008 12:33:39 +0800

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.

2008-08-02  Bean  <address@hidden>

        * util/console.c (grub_console_cur_color): New variable.
        (grub_console_standard_color): Likewise.
        (grub_console_normal_color): Likewise.
        (grub_console_highlight_color): Likewise.
        (color_map): Likewise.
        (use_color): Likewise.
        (NUM_COLORS): New macro.
        (grub_ncurses_setcolorstate): Handle color properly.
        (grub_ncurses_setcolor): Don't change color here, just remember the
        settings, color will be set in grub_ncurses_setcolorstate.
        (grub_ncurses_getcolor): New function.
        (grub_ncurses_init): Initialize color pairs.
        (grub_term grub_ncurses_term): New member grub_ncurses_getcolor.

-- 
Bean

Attachment: color.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]