diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-11-07 15:36:23 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-11-07 17:34:00 +0100 |
commit | a3c4b3900b6aff923e9c1f0fafbf6cb1069def83 (patch) | |
tree | a68824c30badc8dbdd72736fc87676faec710ecd /config.toml | |
parent | 995baa4b74fe64679d408ec87efce6632af6c0d9 (diff) |
Change progress bar format to be a configuration parameter.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'config.toml')
-rw-r--r-- | config.toml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config.toml b/config.toml index 84ae352..ffb3a41 100644 --- a/config.toml +++ b/config.toml @@ -1,6 +1,17 @@ # repository of package definitions repository = "/tmp/path" +# Format of the progress bars used. +# See https://docs.rs/indicatif/0.15.0/indicatif/#templates +# for how to customize this. +# +# Note that 40 is a nice width for the bar itself here, because that's 63 +# characters before the actually {msg}, which gives the message enough space to +# fit a 80 or 100 character wide terminal! +# +# This is also the default if the setting is not present. +progress_format = "[{elapsed_precise}] ({percent:>3}%): {bar:40.cyan/blue} | {msg}" + # The position of the release binaries # # butido checks this location for packages when installing dependencies |