class RTUI::Progress

def fmt_bar

def fmt_bar
  bar_width = do_percentage * @terminal_width / 100
  sprintf("|%s%s|",
    @bar_mark * bar_width,
    " " *  (@terminal_width - bar_width))
end