Simple progress bar for CLI including a simple capture function that handles console input while progress bar is shown