diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-05-07 17:42:46 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-05-08 09:50:38 +0200 |
commit | 0d0464d39d78fc7db682313f14effb384da2256f (patch) | |
tree | ce577f75ea86b6ff3d98f31c30d61cefcbfc5faf /src/cgtop/cgtop.c | |
parent | Enable log colors for most of tools in /usr/bin (diff) | |
download | systemd-0d0464d39d78fc7db682313f14effb384da2256f.tar.xz systemd-0d0464d39d78fc7db682313f14effb384da2256f.zip |
journalctl,shared/log: use yellow for warnings
In program output, highlighting warnings with ANSI_HIGHLIGHT is not enough,
because it doesn't stand out enough. Yellow is more appropriate.
I was worried that yellow wouldn't be visible on white background, but (at
least gnome-terminal) uses a fairly dark yellow that is fully legible on white
and light-colored backgrounds. We also used yellow in many places,
e.g. systemctl, so this should be fine.
Note: yellow is unreadable on urxvt with white background (urxvt +rv). But
grey, which we already used, is also unreadable, so urxvt users would have
to disable colors anyway, so this change does not make the problem
intrinsically worse. See
https://github.com/systemd/systemd/issues/12482#issuecomment-490374210.
Diffstat (limited to 'src/cgtop/cgtop.c')
0 files changed, 0 insertions, 0 deletions