transition from progressbar to ansi::progressbar