mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-23 22:55:46 +00:00
Realign display of text-mode CPU meters. Closes #3369526.
This commit is contained in:
parent
11092662ee
commit
03322b62ec
@ -33,7 +33,7 @@ static void CPUMeter_init(Meter* this) {
|
||||
int cpu = this->param;
|
||||
if (this->pl->cpuCount > 1) {
|
||||
char caption[10];
|
||||
sprintf(caption, "%-3d ", ProcessList_cpuId(this->pl, cpu));
|
||||
sprintf(caption, "%-3d", ProcessList_cpuId(this->pl, cpu));
|
||||
Meter_setCaption(this, caption);
|
||||
}
|
||||
if (this->param == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user