Skip to content

Commit

Permalink
progress bar added
Browse files Browse the repository at this point in the history
  • Loading branch information
cipheras committed Sep 20, 2020
1 parent cb980ab commit 1613ef8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gopkgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ func main() {
ss = append(ss, string(c))
}
fmt.Fprintf(f, "%v,", replacer.Replace(fmt.Sprint(ss)))
fmt.Printf("\u001b[1000D :Packing[%v/%v] [%v%v]", i+1, len(bytstr), strings.Repeat("#", i+1), strings.Repeat(".", len(bytstr)-i-1))
}
fmt.Fprintln(f, "}") //close byt
fmt.Fprintln(f, "return pth, file") //return all paths
Expand Down

0 comments on commit 1613ef8

Please sign in to comment.