[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] use light-gray as default color in normal.mod for consistenc
From: |
Vladimir 'φ-coder/phcoder' Serbinenko |
Subject: |
Re: [PATCH] use light-gray as default color in normal.mod for consistency |
Date: |
Sat, 07 Dec 2013 16:46:21 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9 |
Go ahead
On 29.11.2013 09:10, Andrey Borzenkov wrote:
> As we are in clean up stage ... annoyed me for quite some time.
>
> Defalut font color on PC console seems to be light-gray; this is
> what user also gets in rescue prompt and what is defined as
> GRUB_TERM_DEFAULT_NORMAL_COLOR. But normal.mod defaults to white.
> This makes unpleasant visual effect as colors are changed after kernel
> is booted.
>
> Use the same color eveywhere for consistency and default to light-gray
> as this is also what at least Linux kernel is using by default.
>
> ---
> grub-core/normal/main.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/grub-core/normal/main.c b/grub-core/normal/main.c
> index ad36273..644e916 100644
> --- a/grub-core/normal/main.c
> +++ b/grub-core/normal/main.c
> @@ -572,8 +572,8 @@ GRUB_MOD_INIT(normal)
> grub_env_export ("color_highlight");
>
> /* Set default color names. */
> - grub_env_set ("color_normal", "white/black");
> - grub_env_set ("color_highlight", "black/white");
> + grub_env_set ("color_normal", "light-gray/black");
> + grub_env_set ("color_highlight", "black/light-gray");
>
> for (i = 0; i < ARRAY_SIZE (features); i++)
> {
>
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH] use light-gray as default color in normal.mod for consistency,
Vladimir 'φ-coder/phcoder' Serbinenko <=