Skip to content

Commit

Permalink
Revert "fix: Newline printing improperly in some situations"
Browse files Browse the repository at this point in the history
This reverts commit 33cab3a.
  • Loading branch information
bodgit committed Jul 19, 2022
1 parent a982b57 commit 660a827
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions progressbar.go
Expand Up @@ -326,7 +326,7 @@ func DefaultBytes(maxBytes int64, description ...string) *ProgressBar {
OptionThrottle(65*time.Millisecond),
OptionShowCount(),
OptionOnCompletion(func() {
fmt.Printf("\n")
fmt.Fprint(os.Stderr, "\n")
}),
OptionSpinnerType(14),
OptionFullWidth(),
Expand Down Expand Up @@ -375,7 +375,7 @@ func Default(max int64, description ...string) *ProgressBar {
OptionShowCount(),
OptionShowIts(),
OptionOnCompletion(func() {
fmt.Printf("\n")
fmt.Fprint(os.Stderr, "\n")
}),
OptionSpinnerType(14),
OptionFullWidth(),
Expand Down

0 comments on commit 660a827

Please sign in to comment.