1
1
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00

update deps

This commit is contained in:
Zack Scholl 2020-05-01 06:59:09 -07:00
parent 86ebbaa618
commit 189d1f7b2a
3 changed files with 15 additions and 12 deletions

View file

@ -972,6 +972,7 @@ func (c *Client) createEmptyFileAndFinish(fileInfo FileInfo, i int) (err error)
progressbar.OptionSetDescription(description),
progressbar.OptionSetRenderBlankState(true),
progressbar.OptionShowBytes(true),
progressbar.OptionShowCount(),
progressbar.OptionSetWriter(os.Stderr),
)
c.bar.Finish()
@ -1056,6 +1057,7 @@ func (c *Client) updateState() (err error) {
progressbar.OptionSetDescription(description),
progressbar.OptionSetRenderBlankState(true),
progressbar.OptionShowBytes(true),
progressbar.OptionShowCount(),
progressbar.OptionSetWriter(os.Stderr),
)
c.bar.Finish()
@ -1099,6 +1101,7 @@ func (c *Client) setBar() {
progressbar.OptionSetDescription(description),
progressbar.OptionSetRenderBlankState(true),
progressbar.OptionShowBytes(true),
progressbar.OptionShowCount(),
progressbar.OptionSetWriter(os.Stderr),
progressbar.OptionThrottle(100*time.Millisecond),
)