Skip to content
Snippets Groups Projects
Commit 2ee25082 authored by rswindell's avatar rswindell
Browse files

kbhit() doesn't call select() if input is not a tty

(select returns 1 on /dev/null).
Changed more uses of 0 constant to STDIN_FILENO (defined unistd.h).
Changed C++ comments to C-style.
parent a5a3ab4c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment