ext.pg

progress bar is an api for drawing & updating progress bars.

create(x, y, w, h, fg, bg, fill, terminal)
create(x, y, w, h, fg, bg, fill, terminal)Source

Parameters

  1. x
  2. y
  3. w
  4. h
  5. fg
  6. bg
  7. fill
  8. terminal

Types

bar

bar:update(percent)Source

Parameters

  1. percent
bar:redraw()Source