Check for input, waiting no longer than the number of milliseconds. Note that this doesn't necessarily mean getch will not block, use this AND kbhit for that case.
See Implementation
Check for input, waiting no longer than the number of milliseconds. Note that this doesn't necessarily mean getch will not block, use this AND kbhit for that case.