Skip to content

ctrl + c not working #156

@maunier

Description

@maunier

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions