1
0
mirror of https://github.com/byReqz/go-etcher.git synced 2024-12-25 12:41:49 +00:00

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

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: "=",