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
isCursorHidden
call (#20). Thanks @noriyotcp!
- Add
indent
option to indent a spinner given a number of spaces (#15). Thanks @rap2hpoutre! - Add
remove
method to remove a spinner from the spinners list.
- Use the Unicode dots animation when run inside a VSCode integrated terminal or Windows Terminal (#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
succeedPrefix
andfailPrefix
(#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 (#1).
- Allow to import the default
dots
anddashes
spinners.
- Fix typo when assigning default spinner for
win32
platform.
- Add
status
argument tostopAll()
method.
- Fix cursor position in
clearStream
function.
- Add new spinner for win32 platform.
- Add non-tty/CI stream mode.
- Remove enter key binds.
- Fix cursor position jump in
stopAll
method.
- Add ability to enable/disable pressing the
enter
(\n
,\r
) key through thepreventLineBreaks
option.
- Change package name, description and author info
- Fix cursor position in
clearStream
function.
- Forbid the ability to press the
enter
key and thus move thestdout
cursor.
- 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
,success
andfail
methods).
- Changed MultiSpinner object to a regular class.
- Changed spinners array to an object.