projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2537407
)
pretty-print: make tinting a bit less aggressive
author
Lennart Poettering
<lennart@poettering.net>
Fri, 23 Feb 2024 11:20:04 +0000
(12:20 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 26 Feb 2024 10:54:31 +0000
(11:54 +0100)
src/shared/pretty-print.c
patch
|
blob
|
history
diff --git
a/src/shared/pretty-print.c
b/src/shared/pretty-print.c
index 946da5f42ddc752561be42726ca83cfb8010c481..a4e5809446c4c7b59548384b271e342c60ed0c5d 100644
(file)
--- a/
src/shared/pretty-print.c
+++ b/
src/shared/pretty-print.c
@@
-452,7
+452,7
@@
int terminal_tint_color(double hue, char **ret) {
else /* otherwise pump it up */
s = 75;
- v = MAX(
3
0, v); /* Make sure we don't hide the color in black */
+ v = MAX(
2
0, v); /* Make sure we don't hide the color in black */
uint8_t r8, g8, b8;
hsv_to_rgb(hue, s, v, &r8, &g8, &b8);