-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ligatures for common progress bars #1183
Comments
npm (the filled part is displayed with background color instead of character):
|
pip
|
wget
|
Gradle
|
htop
|
brew
|
yarn
|
cargo
|
apt has the same as gauge:
|
pacman (default config) same as gauge: pacman with ILoveCandy setting: |
Composer (PHP package manager):
|
Docker
|
There’s a cool animated one in a lot of Linux distros (I think during boot, I don’t recall): ....| The last character spins until the next progress increment, when it is replaced with a ‘.’ and the spinner moves right. You can see this type of spinner in action, without the progress indicating periods, here (along with some other pretty neat ideas): |
Gradle download
|
I see you added some progress bar characters. Using the unicode block characters with a solid background you can make a fine-grained progress bar:
You get n/8 sub-resolution with those blocks. It would be nice if you could do something similar with the progress bar characters you made, but it might require a rethink on how they fit together, with the left and right brackets having no actual "progress bar filler". |
Laravel Mix uses filled-only blocks but highlights them by different colors:
|
PHPStan static analysis tool:
|
Correct me if I'm wrong but isn't adding a loading font for every common loading screen a bit extreme? There are so many common loading bars and they can vary a lot. And a lot of them the size changes depending on the size of your terminal which I assume would make it harder. |
@GlowingUmbreon I am not sure I understand. What do you mean by “adding a (loading) font”? Adding where? |
@tonsky adding to FireCode I suppose. |
@tonsky - I have an idea: you could add a ligature for the new FiraCode progress bar chars themselves, for the case where a bar is 100% completed. Some progress bar libraries allow setting a "theme" for the bar, with characters for bar start, filled progress, empty progress, and bar end, but do not have a concept of two different characters for bar end depending on whether the progress has reached 100% or not. This results in a progress bar that looks slightly incomplete: A ligature could solve that by replacing the sequence Even without all the application-specific ligatures, I think this would be useful. |
Personally I would leave this one be. If you specifically set |
No description provided.
The text was updated successfully, but these errors were encountered: