shithub: moonfish

Download patch

ref: 5b635b6c6c015ed8abff09cda8b051178984a986
parent: ff37ff503c081e845a7fede09086aeb612f2d7bc
author: zamfofex <zamfofex@twdb.moe>
date: Fri Oct 18 06:03:22 EDT 2024

hide cursor for analysis TUI

--- a/tools/analyse.c
+++ b/tools/analyse.c
@@ -549,7 +549,7 @@
 {
 	if (moonfish_engine != NULL) fprintf(moonfish_engine, "quit\n");
 	tcsetattr(0, TCSANOW, &moonfish_termios);
-	printf("\n\x1B[?1000l");
+	printf("\n\x1B[?1000l\x1B[?25h");
 	fflush(stdout);
 }
 
@@ -915,7 +915,7 @@
 	
 	if (scanf("[%d;%dR", &fancy->oy, &fancy->ox) != 2) return 1;
 	
-	printf("\x1B[?1000h");
+	printf("\x1B[?1000h\x1B[?25l");
 	fflush(stdout);
 	
 	/* begin setting up UCI bot */
--