From c672e594d26d2637cb4999de6ed881c1093c9599 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Sat, 4 May 2002 07:31:10 +0000 Subject: [PATCH] ansi_getlines releases timeslices while waiting for ANSI cursor position report. --- src/sbbs3/ansiterm.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/sbbs3/ansiterm.cpp b/src/sbbs3/ansiterm.cpp index 993e454bd4..840e901166 100644 --- a/src/sbbs3/ansiterm.cpp +++ b/src/sbbs3/ansiterm.cpp @@ -103,12 +103,11 @@ void sbbs_t::ansi_getlines() && online==ON_REMOTE) { /* Remote */ SYNC; putcom("\x1b[s\x1b[99B\x1b[6n\x1b[u"); - while(online && !rioctl(RXBC) /* && !lkbrd(1) */) - checkline(); + while(online && !rioctl(RXBC)) + mswait(1); inkey(0); } } - void sbbs_t::ansi_getxy(int* x, int* y) { int rsp=0, ch; -- GitLab