{ "BookDepth", "spin","0","256", "256" , NULL,0,NNB, PG|XBOARD|XBSEL|UCI},
{ "BookTreshold", "spin","0","1000", "5" , NULL,0,NNB, PG|XBOARD|UCI},
{ "BookLearn", "check","0","0", "false" , NULL,0,NNB, PG|XBOARD},
+ { "ShowTbHits", "check","0","0", "false" , NULL,0,NNB, PG|XBOARD|XBSEL},
{ "KibitzMove", "check","0","0", "false" , NULL,0,NNB, PG|XBOARD},
{ "KibitzPV", "check","0","0", "false" , NULL,0,NNB, PG|XBOARD},
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 &&