mirror of https://github.com/schollz/croc.git
add back receiver bar
This commit is contained in:
parent
b3847798a4
commit
26ef99c170
|
@ -589,8 +589,7 @@ func (c *Connection) runClient(serverName string) error {
|
|||
responses.startTime = time.Now()
|
||||
responses.Unlock()
|
||||
if !c.Debug && id == 0 {
|
||||
c.bar.Finish()
|
||||
c.bar.Reset()
|
||||
c.bar = progressbar.NewOptions(c.File.Size, progressbar.OptionSetWriter(os.Stderr))
|
||||
} else {
|
||||
// try to let the first thread start first
|
||||
time.Sleep(10 * time.Millisecond)
|
||||
|
|
Loading…
Reference in New Issue