Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/schollz/progressbar
Browse files Browse the repository at this point in the history
  • Loading branch information
schollz committed Jan 29, 2018
2 parents 974cb68 + b2a1bef commit 5fb8484
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions progressbar.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"fmt"
"io"
"os"
"runtime"
"strings"
"sync"
"time"
Expand Down Expand Up @@ -123,12 +122,6 @@ func (p *ProgressBar) Show() error {
return err
}

// handle mac os newline
// this breaks your test for some reason
if runtime.GOOS == "darwin" {
fmt.Fprintf(p.w, "\033[%dA", 0)
}

if f, ok := p.w.(*os.File); ok {
f.Sync()
}
Expand Down

0 comments on commit 5fb8484

Please sign in to comment.