mirror of https://github.com/xzeldon/htop.git
Forgot to correctly color ZFS ARC ratio
`ZFS_RATIO` in `CRT.c` was unused, because I forgot to colorize the ARC ratio in the Compressed ARC meter. The intent was to improve readability of the meter by highlighting the most relevant value, the ratio, in a brighter color, for most themes. This change effects that intent.
This commit is contained in:
parent
f273bfd083
commit
f73c98abd4
|
@ -54,7 +54,7 @@ static void ZfsCompressedArcMeter_display(const Object* cast, RichString* out) {
|
|||
RichString_appendAscii(out, CRT_colors[METER_VALUE], buffer);
|
||||
RichString_appendAscii(out, CRT_colors[METER_TEXT], " Compressed, ");
|
||||
ZfsCompressedArcMeter_printRatioString(this, buffer, sizeof(buffer));
|
||||
RichString_appendAscii(out, CRT_colors[METER_VALUE], buffer);
|
||||
RichString_appendAscii(out, CRT_colors[ZFS_RATIO], buffer);
|
||||
RichString_appendAscii(out, CRT_colors[METER_TEXT], " Ratio");
|
||||
} else {
|
||||
RichString_writeAscii(out, CRT_colors[METER_TEXT], " ");
|
||||
|
|
Loading…
Reference in New Issue