We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4565d17 commit 7869e4eCopy full SHA for 7869e4e
src/client.go
@@ -428,7 +428,11 @@ func (c *Croc) dialUp() (err error) {
428
c.cs.channel.waitingForRecipient = false
429
fmt.Print(" ")
430
}
431
- c.bar = progressbar.NewOptions(c.cs.channel.fileMetaData.Size, progressbar.OptionSetWriter(os.Stderr))
+ c.bar = progressbar.NewOptions(
432
+ c.cs.channel.fileMetaData.Size,
433
+ progressbar.OptionSetWriter(os.Stderr),
434
+ progressbar.OptionSetBytes(c.cs.channel.fileMetaData.Size),
435
+ )
436
if role == 0 {
437
fmt.Fprintf(os.Stderr, "\nSending (->%s)...\n", c.cs.channel.Addresses[1])
438
} else {
0 commit comments