diff --git a/src/3rdparty/win32_src/pdcurses/wingui/pdckbd.c b/src/3rdparty/win32_src/pdcurses/wingui/pdckbd.c index ce0eecfd1..0e3d11a0e 100644 --- a/src/3rdparty/win32_src/pdcurses/wingui/pdckbd.c +++ b/src/3rdparty/win32_src/pdcurses/wingui/pdckbd.c @@ -28,6 +28,8 @@ bool PDC_check_key(void) DispatchMessage(&msg); } + Sleep(1); /* otherwise the CPU is pegged */ + if( PDC_key_queue_low != PDC_key_queue_high) return TRUE; return FALSE;