From bb05e313ebce4e7f959c5577cad5d2c1ec0360be Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sat, 7 Dec 2013 20:00:48 +0400 Subject: [PATCH] use light-gray as default color in normal.mod for consistency 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. --- ChangeLog | 6 ++++++ grub-core/normal/main.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 435420d82..59f440013 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-12-07 Andrey Borzenkov + + * grub-core/normal/main.c (INIT): Set default color to light-gray + to match GRUB_TERM_DEFAULT_NORMAL_COLOR (i.e. rescue mode), Linux + and apparently BIOS defaults. + 2013-12-07 Vladimir Serbinenko Transform -C option to grub-mkstandalone to --core-compress available diff --git a/grub-core/normal/main.c b/grub-core/normal/main.c index 778de61cd..991a59524 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++) {