Closed yurenchen000 closed 1 year ago
Very nice idea indeed! Would you like to implement it or should I do it?
Sorry, I couldn't resist 😇
quick and clean you genius, that's awesome :laughing:
I run the new code as fast as I could, it works perfectly :+1:
I will release new version in the evening. Thanks for great contribution!
I noticed that there is already some discussion about size bar:
82
121
I think here is a discussion about another dimension of size bar: the indicator resolution.
0. Current display effect
You can see 49MB and 24KB has same bar width. // I replaced
#
with■
in the screenshot.Maybe display effect could be better
1. The magic characters
ref: https://mike42.me/blog/2018-06-make-better-cli-progress-bars-with-unicode-block-characters/amp https://en.wikipedia.org/wiki/Block_Elements
try:
This makes it possible to obtain higher resolution bars.
How about it?
shortcoming: maybe need mono width font-family in user terminal application.