diff --git a/go.mod b/go.mod index 3b08884..68d5c87 100644 --- a/go.mod +++ b/go.mod @@ -12,7 +12,7 @@ require ( github.com/schollz/mnemonicode v1.0.1 github.com/schollz/pake v1.0.2 github.com/schollz/peerdiscovery v1.2.2 - github.com/schollz/progressbar/v2 v2.5.3 + github.com/schollz/progressbar/v2 v2.6.0 github.com/schollz/spinner v0.0.0-20180925172146-6bbc5f7804f9 github.com/schollz/utils v1.0.0 github.com/stretchr/testify v1.2.2 diff --git a/src/croc/croc.go b/src/croc/croc.go index 50c4e4a..a228fe2 100644 --- a/src/croc/croc.go +++ b/src/croc/croc.go @@ -8,7 +8,7 @@ import ( "github.com/schollz/croc/src/models" "github.com/schollz/croc/src/relay" "github.com/schollz/croc/src/zipper" - "github.com/schollz/progressbar" + "github.com/schollz/progressbar/v2" ) func init() { diff --git a/src/croc/sender.go b/src/croc/sender.go index 11291d3..b49eb9a 100644 --- a/src/croc/sender.go +++ b/src/croc/sender.go @@ -24,7 +24,7 @@ import ( "github.com/schollz/croc/src/utils" "github.com/schollz/croc/src/zipper" "github.com/schollz/pake" - "github.com/schollz/progressbar" + progressbar "github.com/schollz/progressbar/v2" "github.com/schollz/spinner" "github.com/tscholl2/siec" ) diff --git a/src/win/main.go b/src/win/main.go index 43e65cf..1cbb4cb 100644 --- a/src/win/main.go +++ b/src/win/main.go @@ -80,7 +80,6 @@ func main() { go func(done chan bool) { for { - fmt.Println(cr.FileInfo, cr.Bar) if cr.FileInfo.SentName != "" { labels[0].UpdateTextFromGoroutine(fmt.Sprintf("Sending %s", cr.FileInfo.SentName)) }