Skip to content
Snippets Groups Projects
Commit 1219ad94 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Remove the call to sync() from ansi_getlines()

This was needed back in the v2 days to be sure the escape sequence was sent
*after* an output buffer before might've been cleared by a user's abort/Ctrl-C
action. SYNC/ASYNC called riosync() which called rioctl(TXSYNC) and we have no
equivalent in Synchronet for TCP/IP (modern sbbs). A user's Ctrl-C will clear
all pending I/O, but won't prevent subsequent output from being sent (until
the abort condition is cleared) as used to be the case with serial I/O.
parent 4bd0499e
No related branches found
No related tags found
No related merge requests found
......@@ -197,7 +197,6 @@ void sbbs_t::ansi_getlines()
if(sys_status&SS_USERON && useron.misc&ANSI
&& (useron.rows == TERM_ROWS_AUTO || useron.cols == TERM_COLS_AUTO)
&& online==ON_REMOTE) { /* Remote */
sync();
putcom("\x1b[s\x1b[255B\x1b[255C\x1b[6n\x1b[u");
inkey(K_ANSI_CPR,TIMEOUT_ANSI_GETXY*1000);
}
......
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