htop icon indicating copy to clipboard operation
htop copied to clipboard

Need space after: Load - Swap - CPU in Bar view

Open jkemp814 opened this issue 2 years ago • 8 comments

image

When displaying meters in bar view there is no space, so Load for example is cut off and bracket is right up against meter name.

Load average looks like: Loa[ Swap [Bar] looks like: Swp[ CPU [Bar] looks like: Avg[

There may be others.

jkemp814 avatar Sep 20 '21 14:09 jkemp814

The caption with bar meters is always just 3 characters wide. So the only unfortunate part here is that the caption in bar mode isn't properly shortened in the internal information and thus the display is somewhat truncated …

BenBE avatar Sep 20 '21 15:09 BenBE

Thank you for the prompt response. Maybe 'Load' could be changed to display 'Sys ['

jkemp814 avatar Sep 20 '21 15:09 jkemp814

Even the space would probably count as a character?

jkemp814 avatar Sep 20 '21 15:09 jkemp814

Needs a bit of discussion on 4 letters vs ugly "Loa". Comments welcome :-)

fasterit avatar Feb 24 '22 21:02 fasterit

I think having CPU as an "Avg" is a problem too really - the Load value is an Average too ... so saying "Avg" doesn't really tell us anything about what's being displayed.

OTOH, people are probably used to things the way they are now.

natoscott avatar Feb 24 '22 21:02 natoscott

Has anyone ever tested CPU meters with more than 999 CPUs?

BenBE avatar Feb 25 '22 09:02 BenBE

If 'Loa' is Load Average it should probably be 'LdA' or 'LoA'

BrancuAlexandru avatar Mar 13 '24 09:03 BrancuAlexandru

None of those are more comprehensible than Loa(d)

fasterit avatar Mar 13 '24 10:03 fasterit