version: v3.4.0
my code:
const spinner = ora({discardStdin: false})
spinner.start('start')
try {
myTask()
spinner.succeed('end')
} catche (e) {
spinner.fail('failed')
}
When i press ctrl + c during myTask exection , nothing happened.
After I remove code relative to ora, all is well.
I have upgraded to v4.0.4 and don't help
version: v3.4.0
my code:
When i press
ctrl + cduringmyTaskexection , nothing happened.After I remove code relative to ora, all is well.
I have upgraded to v4.0.4 and don't help