All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vesa Jääskeläinen" <chaac@nic.fi>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] Fix color problem the grub-emu
Date: Tue, 05 Aug 2008 10:54:36 +0300	[thread overview]
Message-ID: <4898073C.6020407@nic.fi> (raw)
In-Reply-To: <ca0f59980808012133w43d18603t905e91f25ee64ccf@mail.gmail.com>

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.





  reply	other threads:[~2008-08-05  7:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-02  4:33 [PATCH] Fix color problem the grub-emu Bean
2008-08-05  7:54 ` Vesa Jääskeläinen [this message]
2008-08-05  8:35   ` Bean
2008-08-05 10:15 ` Marco Gerards
2008-08-05 10:32   ` Bean
2008-08-05 10:59     ` Marco Gerards
2008-08-05 14:19       ` Bean

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4898073C.6020407@nic.fi \
    --to=chaac@nic.fi \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.