Closed F-Hauri closed 2 years ago
@F-Hauri
There's actually no need to set a custom numbering at all.
Just multiply ${prev_value}
by 5 and add ${cur_value}
on that.
See the current iteration of the graph creation code in https://github.com/aristocratos/btop/blob/main/src/btop_draw.cpp
I agree, btop is a nice evolution of bashtop! Anyway, my remark does'nt concern btop, but only bashtop! Good work, sorry for disturbing...
Describe the bug
Re-reading my code about braille graphics, I realize:
There's no need to use Associative Arrays
To Reproduce
Have a look at lines 240 to 253:
could be replaced by
Then when used, like at line 1673-1680:
Expected behavior
Reducing script's system footprint.