Made progress bars more customizable

This commit is contained in:
Dylan
2016-04-24 18:30:57 +10:00
parent db1f3851a7
commit 550185fa7e
3 changed files with 61 additions and 7 deletions

33
1.7.md
View File

@@ -72,6 +72,7 @@ underline_enabled="on"
- Added KDE neon ascii art.
### Colors
- Fixed bug with `--colors` not working with all 256 terminal colors.
@@ -82,3 +83,35 @@ underline_enabled="on"
would be white or black. This caused issues for those setting the foreground<br \>
color to red or etc. This change adds a new value for `--colors` and `colors=()`<br \>
called `fg` which will set the color to your foreground color.
### Progress Bars
- You can now enable/disable a border around the progress bars.
```sh
# $progress_border on
[=====-----]
# $progress_border off
=====-----
```
- You can now individually set the progress bar characters. This means that you can<br \>
have a seperate character for the elapsed and total portions of the bar.
```sh
# Examples with $progress_border on
# Elapsed: =
# Total: -
[=====-----]
# Elapsed: .
# Total: " "
[..... ]
# Elapsed: /
# Total: " "
[///// ]
```