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

Avoid "close" event. #20

Open
marian-toaderr opened this issue Jul 7, 2016 · 0 comments
Open

Avoid "close" event. #20

marian-toaderr opened this issue Jul 7, 2016 · 0 comments

Comments

@marian-toaderr
Copy link

I'm developing a console application using your library. For this application I'm trying to develop I need to block the user inside my shell. So I need to disable all events like ctrl+c, ctrl+d, etc.
I succeded blocking ctrl+c and ctrl+z events, but I'm struggling with ctrl+d. This started a EOF signal/event that closes the stream. If i handle the "close" event I can catch this, but the stream will still be closed.
I need my application to avoid closing the stream or restarting it after "close" event.
Is this possible to achieve to do with your library?
Thanks in advance :)

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

No branches or pull requests

1 participant