Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
oldabl authored Apr 10, 2024
1 parent 71f6478 commit 722af0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ You can give the following optional arguments to the ProgressBar constructor:
- remainingbarchar: Character to fill the remaining bar with (default ' ')
- loadingchars: Last character of bar moving as bar loads (moves even if no progress) (default "█▓▒░▒▓")
- startendchar: The two characters going around the bar (default "||")
- barwidth: Length of the bar in characters (does not include optionally printed pretext, progresschar, percentage and count) (default terminal width/2)
- displaypercentage: Show percentage as well or not (default False)
- displaycount: Show count as well or not (default False)

- rightjustified: Print the bar on the right hand side of the console (default True)
- consolewidthrate: Choose the section the bar occupies on the console (default 3 => 1/3 of the console)
### Thread parameters
If you use the thread version, you can customise the refresh time of your progress bar.
To do this, give an extra argument (type float) representing the refreshing period of the bar.
Expand Down

0 comments on commit 722af0b

Please sign in to comment.