X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xboard2uci.c;h=b8bcea17b4d9c57800e481b9e7b0e8fa2399ad0f;hb=50a1a4edffe8b24fa1b0e05ab46c004d757f2a74;hp=893c99fef6b38f24061c945ed777fa74d3f82752;hpb=a84f99596f0d25753ec4c1aae71b161fe641614a;p=polyglot.git diff --git a/xboard2uci.c b/xboard2uci.c index 893c99f..b8bcea1 100644 --- a/xboard2uci.c +++ b/xboard2uci.c @@ -1718,7 +1718,9 @@ static void send_pv() { if(Uci->depth==-1) //hack to clear the engine output window gui_send(GUI,"%d %+d %.0f "S64_FORMAT" ",0,report_best_score(),Uci->time*100.0,Uci->node_nb); - + if(option_get_bool(Option,"ShowTbHits")) + gui_send(GUI,"%d %+d %.0f "S64_FORMAT" {"S64_FORMAT"} %s",Uci->best_depth,report_best_score(),Uci->time*100.0,Uci->node_nb,Uci->tbhit_nb,pv_string); + else gui_send(GUI,"%d %+d %.0f "S64_FORMAT" %s",Uci->best_depth,report_best_score(),Uci->time*100.0,Uci->node_nb,pv_string); } else if (State->state == PONDER &&