make bar smaller to prevent newlines on small terminals

This commit is contained in:
Nils 2022-01-13 11:43:32 +01:00
parent 8454440711
commit 7538896d21
Signed by: byreqz
GPG Key ID: 396A62D7D436749E
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ func WriteImage(image *os.File, target *os.File, size int64) (int64, error) {
progressbar.OptionSetWriter(os.Stderr),
// progressbar.OptionEnableColorCodes(true),
progressbar.OptionShowBytes(true),
progressbar.OptionSetWidth(50),
progressbar.OptionSetWidth(25),
progressbar.OptionSetDescription("Writing image file..."),
progressbar.OptionSetTheme(progressbar.Theme{
Saucer: "=",