dbushell / grunt-svg2png

Grunt plugin to rasterize SVG to PNG images using PhantomJS
MIT License
76 stars 37 forks source link

Progress bar is too long #28

Open trevorparscal opened 9 years ago

trevorparscal commented 9 years ago

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.