grub-devel
[Top][All Lists]
Advanced

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

[PATCH] do not ignore current values for {normal,highlight}_color when l


From: Andrey Borzenkov
Subject: [PATCH] do not ignore current values for {normal,highlight}_color when loading terminal output module
Date: Thu, 04 Oct 2012 21:06:45 +0400

Currently every loaded module starts with hardcoded default colors,
ignoring current value of variables normal_color and highlight_color.
This provides inconsistent experience because which color is actually
used for terminal window depends in which place of grub.cfg color is
set. Additionally even if color is set in terminal window, terminal is
closed and reopened again, color is reset to hardcoded default.

The patch makes sure current values are applied on module load. Also
normal_color is applied when new instance of terminal window is created.

In principle this patch makes term->normal_color and
term->highlight_color redundant, as there is no place where they are set
individually, they always follow variables normal_color,
highlight_color.

-andrey

Attachment: grub2-dont-ignore-default-colors.patch
Description: Text Data


reply via email to

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