Closed leonsilicon closed 2 years ago
What's the use-case for changing the interval while the spinner is running?
Oh, I wasn't planning on changing it, just reading the value; I was creating a plugin for Inquirer that needed the spinner's frame to be manually rendered to the screen, and I based it off the code from here: https://github.com/SBoudrias/Inquirer.js/pull/1002/files#diff-d15f352de0d8de4937a7e8f493b69295240a480833cc7331155291bcf7aa8005R50 which reads from the interval
property on the ora spinner.
Hi, firstly, sorry for opening this issue in the wrong repository, but I couldn't open a PR over at https://github.com/sindresorhus/ora since it gives the following message:
I was hoping the
interval
property could be added to theOra
interface since the property seems to exist and works fine in JavaScript: https://github.com/sindresorhus/ora/compare/main...leonzalion:mainAs always, thanks for your open-source work!