Skip to content

Comments

Fix unresponsive keyboard input when is used with an -l flag#357

Open
tryzniak wants to merge 1 commit intomafintosh:masterfrom
tryzniak:fix/unresponsive-with-list
Open

Fix unresponsive keyboard input when is used with an -l flag#357
tryzniak wants to merge 1 commit intomafintosh:masterfrom
tryzniak:fix/unresponsive-with-list

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