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++)
>      {
> 


Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to