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 unresponsive keyboard input when is used with an -l flag #357

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tryzniak
Copy link

We need to call process.stdin.resume() somewhere down the line,
after having used Inquirer (maybe it's one of its deps who calls
process.stdin.pause()) to start responding to keyboard presses again.
The fix was tested on MacOS 10.14 and NodeJS v8.9.4.

Closes #321

We need to call `process.stdin.resume()` somewhere down the line,
after having used Inquirer (maybe it's one of its deps who calls
`process.stdin.pause()`) to start responding to keyboard presses again.
The fix was tested on MacOS 10.14 and NodeJS v8.9.4.

Closes mafintosh#321
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.

Unresposive to ctrl-c whene using -l
1 participant