kbhit() in a native app run from CYGWIN console does not work?
Lavrentiev, Anton (NIH/NLM/NCBI) [C]
Fri Aug 3 22:36:00 GMT 2012
I have a native Windows app that is run from bash (which is in turn run
in a standard Cygwin terminal window, mintty). The application's code uses
kbhit() to check whether input is available from the user -- but it looks
like kbhit() never indicates any input (when keys are getting pressed).
The app works just fine if started directly from CMD.EXE.
Is that the expected behavior?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin