2b19ca8a0a
CPU percent width is 5, which accommodates the maximum possible width (100.0). When it's at full width, though, the percent string runs right up against the item before it. When the graph is enabled, running up against the graph just looks strange, but still readable ([ |||]100.0%). With the graph disabled (-g 0) though, it runs into the memory widget, which makes both of them very difficult to read (11/32GB100%). This commit adds one space to the CPU percent width. It offsets a non-pegged load by one, but it ensures there's always at least one space to separate the widgets. |
||
---|---|---|
.. | ||
conversions.h | ||
cpu.h | ||
error.h | ||
generate-luts.py | ||
getsysctl.h | ||
graph.cc | ||
graph.h | ||
load.cc | ||
load.h | ||
luts.h | ||
main.cc | ||
memory.cc | ||
memory.h | ||
powerline.cc | ||
powerline.h | ||
version.h.in |