Fix instant commands during think after ponder hit
[uci2wb.git] / UCI2WB.c
index 5ebe5ef..7f0223e 100644 (file)
--- a/UCI2WB.c
+++ b/UCI2WB.c
@@ -488,7 +488,7 @@ GUI2Engine()
                    char *draw = drawOffer ? " draw" : ""; drawOffer = 0;\r
                    pondering = 0; pause = 2; moveNr++; startTime = GetTickCount(); // clock starts running now\r
                    EPRINT((f, "# ponderhit%s\n", draw)) fflush(toE); fflush(stdout);\r
-                   Sync(PAUSE); // block input during thinking\r
+                   think = 2; // request blocking input during thinking\r
                    goto nomove;\r
                }\r
                StopPonder(1); searching = 0;\r