# HG changeset patch # User reimar # Date 1210428222 0 # Node ID 45fc8351ca9b10cfc54f34bf176bfb91f680cdb3 # Parent 5b9a13fb7357826e039499bff7d95583e21964d0 usec_sleep(0) is not the same as not sleeping at all. Fixes massive slowdown on Windows. diff -r 5b9a13fb7357 -r 45fc8351ca9b input/input.c --- a/input/input.c Sat May 10 13:41:10 2008 +0000 +++ b/input/input.c Sat May 10 14:03:42 2008 +0000 @@ -1215,7 +1215,7 @@ } } #else - if (!got_cmd) + if (!got_cmd && time) usec_sleep(time * 1000); #endif