mirror of https://github.com/xzeldon/htop.git
PCP: use palette meter text colour for dynamic meter labels
This commit is contained in:
parent
f0ed0fdafb
commit
93be3211ae
|
@ -329,7 +329,7 @@ void PCPDynamicMeter_display(PCPDynamicMeter* this, ATTR_UNUSED const Meter* met
|
|||
|
||||
if (metric->label) {
|
||||
len = xSnprintf(buffer, sizeof(buffer), "%s ", metric->label);
|
||||
RichString_appendnAscii(out, CRT_colors[metric->color], buffer, len);
|
||||
RichString_appendnAscii(out, CRT_colors[METER_TEXT], buffer, len);
|
||||
}
|
||||
|
||||
/* TODO: pretty-print the values - pmConvScale, etc */
|
||||
|
|
Loading…
Reference in New Issue