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:
parent
8454440711
commit
7538896d21
2
main.go
2
main.go
@ -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: "=",
|
||||
|
Loading…
Reference in New Issue
Block a user