Skip to content

Commit

Permalink
Updated pacman customization with animated saucer head
Browse files Browse the repository at this point in the history
  • Loading branch information
wystans committed Dec 14, 2021
1 parent 7f7240b commit 8a0fe80
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/customization/pacman.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ func main() {
progressbar.OptionSetWidth(50),
progressbar.OptionSetTheme(progressbar.Theme{
Saucer: " ",
SaucerHead: "[yellow]<[reset]",
AltSaucerHead: "[yellow]<[reset]",
SaucerHead: "[yellow]-[reset]",
SaucerPadding: "[white]•",
BarStart: "[blue]|[reset]",
BarEnd: "[blue]|[reset]",
Expand All @@ -30,7 +31,7 @@ func main() {
go func() {
for i := 0; i < 1000; i++ {
bar.Add(1)
time.Sleep(5 * time.Millisecond)
time.Sleep(10 * time.Millisecond)
}
}()

Expand Down

0 comments on commit 8a0fe80

Please sign in to comment.