Handle time and otim commands during ponder search
[gnushogi.git] / gnushogi / commondsp.c
index 56fe08b..1790e5f 100644 (file)
@@ -1726,7 +1726,7 @@ InputCommand(char *command, int root)
         if (sscanf(sx, "%s", s) < 1)
             continue;
 
-        if (!root && strcmp(s, "."))
+        if (!root && strcmp(s, ".") && strcmp(s, "time") && strcmp(s, "otim"))
         {   /* during search most commands can only be done after abort */
             strcpy(backlog, sx); /* backlog the command    */
             return true;         /* and order search abort */