Skip to content

Commit

Permalink
馃摑docs: Add a library definition for ansi
Browse files Browse the repository at this point in the history
  • Loading branch information
eogns47 committed Jan 31, 2024
1 parent 27ddfcc commit 16e1f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -70,7 +70,7 @@ There is a lot of customization that you can do - change the writer, the color,

```golang
bar := progressbar.NewOptions(1000,
progressbar.OptionSetWriter(ansi.NewAnsiStdout()),
progressbar.OptionSetWriter(ansi.NewAnsiStdout()), //you should install "github.com/k0kubun/go-ansi"
progressbar.OptionEnableColorCodes(true),
progressbar.OptionShowBytes(true),
progressbar.OptionSetWidth(15),
Expand Down

0 comments on commit 16e1f48

Please sign in to comment.