Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix handling of Ctrl+C on spinners beyond first one #131

Merged
merged 2 commits into from Sep 29, 2019

Conversation

stroncium
Copy link
Contributor

@stroncium stroncium commented Sep 26, 2019

Fixes #130

This fixes the problem for now.

Multiple spinners do work and readline run in parallel works too.

But I think it wasn't broken before(when I implemented original feature) and I suspect there were some changes in nodejs code base.Need to check further to find out why exactly it is working like that now(and readline related hack with 'keypress' shouldn't be there ideally).

@stroncium stroncium changed the title Fixes #130 Fix handling of Ctrl+C on spinners beyond first one Sep 26, 2019
@sindresorhus sindresorhus merged commit 17761e9 into sindresorhus:master Sep 29, 2019
@sindresorhus
Copy link
Owner

Thanks for the quick workaround :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ctrl+C is ignored on macOS
2 participants