From a083d78d005b4b2c6ec589daae1f7b107e66deb5 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Sat, 4 May 2002 07:34:01 +0000
Subject: [PATCH] ansi_getxy releases timeslices while waiting for ANSI cursor
 position report.

---
 src/sbbs3/ansiterm.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/sbbs3/ansiterm.cpp b/src/sbbs3/ansiterm.cpp
index 840e901166..72a6c2f048 100644
--- a/src/sbbs3/ansiterm.cpp
+++ b/src/sbbs3/ansiterm.cpp
@@ -115,7 +115,7 @@ void sbbs_t::ansi_getxy(int* x, int* y)
     *x=0;
     *y=0;
 
-	rputs("\x1b[6n");	/* Request cusor position */
+	putcom("\x1b[6n");	/* Request cusor position */
 
     time_t start=time(NULL);
     sys_status&=~SS_ABORT;
@@ -152,5 +152,6 @@ void sbbs_t::ansi_getxy(int* x, int* y)
         	lprintf("Node %d !TIMEOUT in ansi_getxy", cfg.node_num);
             break;
         }
+		mswait(1);
     }
 }
-- 
GitLab