Open m0nch1 opened 2 months ago
Changing the examples does not fix the issue. Running consola.start()
, await new Promise((resolve) => setTimeout(resolve, 1000));
, consola.success()
will still not show an animated spinner as expected.
@adesombergh In the current implementation, consola.start does not have a spinner function, and the spinner is defined in utils/prompt.ts
And my PR only works with spinner in example, so there is no way to actually import consola and use it...
I think this needs to be implemented so that spinner can work with prompt...
I tried to make spinner available from utils!
@Atinux @adesombergh What do you think of this? I'm sure spinner is not used yet, and maybe it's okay to not support it, once it is!
๐ Linked issue
issue: https://github.com/unjs/consola/issues/284
โ Type of change
๐ Description
Use spinner in examples/spinner.ts, prompt.ts
๐ Checklist
note
Result of local run...
https://github.com/unjs/consola/assets/26811986/b1bf45b1-f5fd-4ca9-bde9-60700a56e017