visionmedia/node-progress — pull request #35 by quimcalpe (2013-09-09 19:02:39+00:00)
Title: Extract render method

Extract render method to enable rendering before any tick happens.

In situations where first tick is slow to get fired, nothing is displayed, extracting render logic to his own method enable developers to force display the progress bar right away, example code:

```javascript
var ProgressBar = require('progress');

var bar = new ProgressBar('downloading [:bar] :percent :etas :current :total :elapsed', { total: 50, width: 10 });
bar.render();
var timer = setInterval(function(){
bar.tick();
if (bar.complete) {
console.log('\ncomplete\n');
clearInterval(timer);
}
}, 2000);
```