Message ID | Z-QKeE-9V2QLyDih@decadent.org.uk (mailing list archive) |
---|---|
State | New |
Delegated to: | David Ahern |
Headers | show |
Series | Improve coloured text readability | expand |
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Guessing tree name failed - patch did not apply |
diff --git a/lib/color.c b/lib/color.c index 88ba9b03..aa112352 100644 --- a/lib/color.c +++ b/lib/color.c @@ -24,7 +24,7 @@ enum color { C_BOLD_RED, C_BOLD_GREEN, C_BOLD_YELLOW, - C_BOLD_BLUE, + C_BOLD_LIGHT_BLUE, C_BOLD_MAGENTA, C_BOLD_CYAN, C_BOLD_WHITE, @@ -42,7 +42,7 @@ static const char * const color_codes[] = { "\e[1;31m", "\e[1;32m", "\e[1;33m", - "\e[1;34m", + "\e[1;94m", "\e[1;35m", "\e[1;36m", "\e[1;37m", @@ -66,7 +66,7 @@ static enum color attr_colors_dark[] = { C_BOLD_CYAN, C_BOLD_YELLOW, C_BOLD_MAGENTA, - C_BOLD_BLUE, + C_BOLD_LIGHT_BLUE, C_BOLD_GREEN, C_BOLD_RED, C_CLEAR
In GNOME Terminal's default dark colour schemes, the default (dark) blue on a black background is barely readable. Light blue is significantly more readable to me, and is also easily readable on a white background. In Konsole, rxvt, and xterm, I can see little if any difference between dark and light blue in the default dark colour schemes. So replace dark blue with light blue in the dark-background palette. Signed-off-by: Ben Hutchings <benh@debian.org> --- lib/color.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)