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

Make stdin non-blocking when not a tty #52

Merged
merged 2 commits into from
Sep 7, 2012
Merged

Conversation

hackedd
Copy link
Contributor

@hackedd hackedd commented Sep 7, 2012

While writing a program that controls a running omxplayer instance, I came to the conclusion that the getchar() call in the main loop blocks when stdin is not a tty.

huceke added a commit that referenced this pull request Sep 7, 2012
Make stdin non-blocking when not a tty
@huceke huceke merged commit edb42b0 into huceke:master Sep 7, 2012
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.

2 participants