@cryptotaxi247 / kubo / commits / a10d1f46d

fix stats bw --poll output

License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>

Jeromy committed Jan 24, 2018 at 12:37 UTC a10d1f46dd1d1b9fb3256f02275f15861007194d
1 file changed +1 -1
core/commands/stat.go
+1 -1
@@ -171,7 +171,7 @@ Example:
171 fmt.Fprintf(os.Stdout, "%8s ", humanize.Bytes(uint64(bs.TotalOut)))
172 fmt.Fprintf(os.Stdout, "%8s ", humanize.Bytes(uint64(bs.TotalIn)))
173 fmt.Fprintf(os.Stdout, "%8s/s ", humanize.Bytes(uint64(bs.RateOut)))
174 - fmt.Fprintf(os.Stdout, "%8s/s \n", humanize.Bytes(uint64(bs.RateIn)))
174 + fmt.Fprintf(os.Stdout, "%8s/s \r", humanize.Bytes(uint64(bs.RateIn)))
175 }
176 }()
177