diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ctaklm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ctaklm.c b/src/ctaklm.c index f1bb7cd..5ae0a3b 100644 --- a/src/ctaklm.c +++ b/src/ctaklm.c @@ -311,12 +311,12 @@ ct1986_turn(const uint8_t search_depth) { // Prepare progress bar fputs("Computing [", stdout); for (int k = 0; k < board_size * board_size; k++) putchar(' '); - fputs("] \033[s\033[27D",stdout); + fputs("]\033[26D",stdout); fflush(stdout); // Run the minimax sum_depth = 0; num_check = 0; float minimax = ct1986_generate(search_depth); - fputs("\033[u", stdout); + fputs("\033[1C ", stdout); // Failed to find a move? if ((minimax <= -infty && (ply & 1) == 1) ||(minimax >= infty && (ply & 1) == 0)) { |
