X-Git-Url: http://winboard.nl/cgi-bin?p=gnushogi.git;a=blobdiff_plain;f=gnushogi%2Fcommondsp.c;fp=gnushogi%2Fcommondsp.c;h=56fe08b09b2ddf81b20348292af065823c360ce3;hp=4823f5f8e0a44152fb6776f0ee4f1413a6934df2;hb=0e1d14a8cc1c0a35d6b559c86f8296a2de9b79ee;hpb=1659d737d4bae32618488aa12eedba627ea13d60 diff --git a/gnushogi/commondsp.c b/gnushogi/commondsp.c index 4823f5f..56fe08b 100644 --- a/gnushogi/commondsp.c +++ b/gnushogi/commondsp.c @@ -1798,7 +1798,7 @@ InputCommand(char *command, int root) "shogi" #endif ); - printf("debug=1 setboard=1 sigint=0 memory=1 done=1\n"); + printf("debug=1 setboard=1 sigint=0 memory=1 usermove=1 done=1\n"); } else if (strcmp(s, ".") == 0) { // periodic update request of analysis info: send stat01 info @@ -2148,6 +2148,9 @@ InputCommand(char *command, int root) } else { + if (strcmp(s, "usermove") == 0) + sscanf(sx + 9, "%s", s); + if (flag.mate) { ok = true;