From: H.G.Muller Date: Wed, 4 Jan 2017 17:06:29 +0000 (+0100) Subject: Disarm printing of 'uci' to the GUI in debug mode X-Git-Tag: v4.0~33 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=a8c8e03626f0cd085656c31efc672689998d5fdb;p=uci2wb.git Disarm printing of 'uci' to the GUI in debug mode A '#' sign is now printed when UCI2WB reports it sent the 'uci' command. --- diff --git a/UCI2WB.c b/UCI2WB.c index d1096d0..3db7bbd 100644 --- a/UCI2WB.c +++ b/UCI2WB.c @@ -540,7 +540,7 @@ GUI2Engine() printf("feature setboard=1 usermove=1 debug=1 ping=1 name=1 reuse=0 exclude=1 pause=1 sigint=0 sigterm=0 done=0\n"); printf("feature option=\"UCI2WB debug output -check %d\"\n", debug); if(sc == 's') printf("feature option=\"Floating Byoyomi -check %d\"\nfeature option=\"Byoyomi -spin %d -1 1000\"\n", flob, byo); - EPRINT((f, sc == 'x' ? "# ucci\n" : "u%ci\n", sc)) fflush(toE); // prompt UCI engine for options + EPRINT((f, sc == 'x' ? "# ucci\n" : "# u%ci\n", sc)) fflush(toE); // prompt UCI engine for options Sync(PAUSE); // wait for uciok } else if(!strcmp(command, "setboard")) {