-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
pure usage swallows my ability to send SIGINT #2
Comments
@cdaringe can you provide an example that reproduces this issue? Also, which version of node and OS are you using? |
Hi @doowb, give me a couple hours, I'm at the dr! Thx for following up |
[email protected] |
Is this what you mean by "pure usage"? On that line, you're creating a prompt and keeping it open (with When a new prompt is created, it instantiates readline UI which starts listening for |
I meant using this PKG directly vs enquirer. If you run the example you can see that even after responses are collected (prompt |
You'll need to close the session. This is something that enquirer does after prompts are run, but in order to allow prompts to be chained or nested, we don't close the session in individual prompts. I'm open to alternatives if you have suggestions or want to do a pull request. I believe |
This works. I was just testing that out and about to say the same thing. |
cool, ya,
i'm still digesting this. part of me feels that when the prompt has finished... it really should be finished unless explicitly told to do so otherwise. sounds like we should probably document |
I searched for hours to figured out where my process was stucked ( i thought it was caused by other third-part libs ) |
problem
i am unable to
ctrl+c
exit my program once i haverun
this pkgsolution
commenting out my usage of this pkg restores default node behavior
The text was updated successfully, but these errors were encountered: