- Fix: check before using stream.clearLine to prevent crash in Docker
- Fix: fixed output multiline on windows cmd
- Fix: Bug with array length when window is too small
- Fix: Don't clear whole line every time; instead, clear everything after end of line
- Fix: Use
this.stream
instead ofconsole.log
when terminating a progress bar to ensure that, if a writable stream is provided, it uses that rather than process.stdout - Fix: Bug causing potentially stale tokens on render
- Feature: configurable cursor
- Feature: feature to interrupt the bar and display a message
- Feature: Add rate reporting to progress bar
- Improvement: Add head option to specify head character
- Improvement: Rename tickTokens to tokens
- Improvement: Change default throttle time to 16ms
- Improvement: Rename renderDelay to renderThrottle
- Improvement: Add delay between render updates
- Docs: Add example and documentation for custom token usage
- Docs: Add head option to readme
- Docs: Updated README example for public use
- Docs: Add renderThrottle option to code documentation
- fixed a bug that occurs when a progress bar attempts to draw itself on a console with very few columns
- now prevents progress bar from exceeding TTY width by limiting its width to the with of the TTY
- updated documentation and various other repo maintenance
- updated makefile to run examples with
make
- removed dependency on readline module
- now supports streams, for example output progress bar to stderr, while piping stdout
- increases performance and flicker by remembering the last drawn progress bar
- fixes a bug where bar would bug when initializing
- allows to pass updated tokens when ticking or updating the bar
- fixes a bug where the bar would throw if skipping to far
- lets you pass an
fmt
and atotal
instead of an options object
- eta and elapsed tokens default to 0.0 instead of ?.?
- better JSDocs
- added back and forth example
- added method to update the progress bar to a specific percentage
- added an option to hide the bar on completion
- on os x readline now works, reverting the terminal hack
- remove .version
- merge pull request #15 from davglass/readline-osx
- on OSX revert back to terminal hack to avoid a readline bug
- fixed logic bug that caused bar to jump one extra space at the end [davglass]
- working with readline impl, even on Windows [davglass]
- using readline instead of the \r hack [davglass]
- add ability to tick by zero chunks - tick(0)
- fix ETA. Closes #4 [lwille]
- allow more recent versions of node
- changed; erase the line when complete
- added custom tokens support
- fixed; clear line before writing
- initial release