Skip to content
Snippets Groups Projects
Commit a083d78d authored by rswindell's avatar rswindell
Browse files

ansi_getxy releases timeslices while waiting for ANSI cursor position report.

parent c672e594
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment