linux terminal progress bar (no thread safe).