From b47ca930e2588af857c9eacadd7377c8870a57bf Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Tue, 24 Sep 2013 22:04:24 +0200 Subject: [PATCH] Write ponder move (in parentheses) in XBoard thinking output --- searchr.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/searchr.c b/searchr.c index 6d2af78..9a1d244 100644 --- a/searchr.c +++ b/searchr.c @@ -370,7 +370,12 @@ out_pv( tree_t * restrict ptree, int value, int turn, unsigned int time ) if ( ptree->pv[0].length ) { #ifdef XBOARD - if(xboard_mode) Out("%2d %6d %6d %8d ", iteration_depth, value, time/10, 1); else + if(xboard_mode) { + Out("%2d %6d %6d %8d ", iteration_depth, value, time/10, 1); + if(game_status & flag_pondering && ! analyze_mode) { + Out("("); out_xboard_move( ponder_move, 1-tt ); Out(") "); + } + } else #endif if ( root_move_list[root_index].status & flag_first ) { -- 1.7.0.4