From: H.G. Muller Date: Wed, 5 Dec 2012 11:05:59 +0000 (+0100) Subject: Respond immediately to ponder on/off commands X-Git-Tag: v2.0~29 X-Git-Url: http://winboard.nl/cgi-bin?p=uci2wb.git;a=commitdiff_plain;h=99de6ab7fd6d624fbf821de5c2e42c1bbba6d914;hp=c3f4db2a7ba3c54f806a5972cf371ab6af416be1 Respond immediately to ponder on/off commands Rather than just setting the flag that causes a ponder search to start after the engine moves, we start the search on receiving the 'hard' command. When a ponder search is in progress, it is stopped on receiving 'easy'. This requires saving a ponder move even with ponder off, (because it might be switched on later), and more strict clearing of the move beyond the last one, toprevent it can be accidentally used as ponder move (e.g. after undo). --- diff --git a/UCI2WB.c b/UCI2WB.c index fbd9d74..256150c 100644 --- a/UCI2WB.c +++ b/UCI2WB.c @@ -109,6 +109,15 @@ LoadPos(int moveNr) for(j=0; j