That's sweet, but there is one missing thing. We have to define a fixed width for the progress bar. Means the right bracket should always be at position 40. We can left-align progressbar_string and make it 39 chars wide. With the '>' we will get 40.