Hmm that's why I asked which version of the compiler you were using to compile 
the C code. Testing on my Windows 10 box using nim 1.4.2 with the default MingW 
distribution supplied by the nim archive I don't see the hanging problem when 
calling `_getch()` twice after `_kbhit()` returns non-zero.

Reply via email to