All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fix typo on
isCursorHiddencall (jbcarpanelli#20). Thanks @noriyotcp!
- Add
indentoption to indent a spinner given a number of spaces (jbcarpanelli#15). Thanks @rap2hpoutre! - Add
removemethod to remove a spinner from the spinners list.
- Use the Unicode dots animation when run inside a VSCode integrated terminal or Windows Terminal (jbcarpanelli#12). Thanks @MLoughry!
- Fix line breaks when a custom succeedPrefix/failPrefix is provided
- Properly add line breaks in spinner texts when it has '\n' characters
- Fix Windows default spinner and prefix (#8). Thanks @RedDuckss!
- Strip ANSI escape codes before cleaning the stream (https://github.com/jcarpanelli/spinnies/commit/574a1eb5a370c05e70d8d03ecf73e5292353468d)
- Add
succeedPrefixandfailPrefix(#8). Thanks @RedDuckss!
- Set terminal color as default text color, and avoid using
chalk.white(https://github.com/jcarpanelli/spinnies/commit/2da89d852fc6a89bb06715cccba94ccd632b4430)
- Remove default non-spinnable text prefix (https://github.com/jcarpanelli/spinnies/commit/38e6637f79fbc3712889ee6cc59f94cd91d1da1e)
- Print last stream without breaking lines manually
- Handle spinner frame index globally to prevent the animation from restarting.
- Allow to override spin animation in any platform (jbcarpanelli#1).
- Allow to import the default
dotsanddashesspinners.
- Fix typo when assigning default spinner for
win32platform.
- Add
statusargument tostopAll()method.
- Fix cursor position in
clearStreamfunction.
- Add new spinner for win32 platform.
- Add non-tty/CI stream mode.
- Remove enter key binds.
- Fix cursor position jump in
stopAllmethod.
- Add ability to enable/disable pressing the
enter(\n,\r) key through thepreventLineBreaksoption.
- Change package name, description and author info
- Fix cursor position in
clearStreamfunction.
- Forbid the ability to press the
enterkey and thus move thestdoutcursor.
- Added CircleCI builds.
- Added unit tests (~99% coverage).
- Added
stopAll()method to stop all spinning spinners. - Added ability to set a spinner efect when constructing the spinner.
- Fix color properties when updating a spinner (with the
update,successandfailmethods).
- Changed MultiSpinner object to a regular class.
- Changed spinners array to an object.