progressbar
progress bar is an api for drawing & updating progress bars.
| create(x, y, w, h, fg, bg [, fill [, terminal]]) | Create a bar object |
|---|
- create(x, y, w, h, fg, bg [, fill [, terminal]])Source
Create a bar object
Parameters
- x
numberX coordinate of the bar. - y
numberY coordinate of the bar. - w
numberWidth of the bar. - h
numberHeight of the bar. - fg
numberThe colour of the filled in bar. - bg
numberThe colour of the background of the bar. - fill?
numberThe pre filled portion of the bar. Defaults to 0. - terminal?
tableThe terminal to draw the bar on. Defaults toterm.current().
- x
Types
bar
The progress bar object itself. Returns by create