def refresh(self, flush=True, elapsed=None):
if self.enabled:<EOL><INDENT>self.manager.write(output=self.format(elapsed=elapsed),<EOL>flush=flush, position=self.position)<EOL><DEDENT>
Args:
    flush(bool): Flush stream after writing progress bar (Default:True)
    elapsed(float): Time since started. Automatically determined if :py:data:`None`

Redraw progress bar