When converting a lot of files the progress bar, which uses a 1:1 mapping between files and ticks in the bar, ends up taking multiple lines and generally breaks. The progress bar should instead use process.stdout.columns to get the width of the terminal and show progress within that scale.
When converting a lot of files the progress bar, which uses a 1:1 mapping between files and ticks in the bar, ends up taking multiple lines and generally breaks. The progress bar should instead use process.stdout.columns to get the width of the terminal and show progress within that scale.