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

sbbs::outchar() now escapes Telnet IAC chars (when in Telnet mode). This

resolves the problem of displaying any ASCII 255 characters embedded in
messages, menus, text.dat, etc.
parent 7e5b4d22
Branches
Tags
No related merge requests found
......@@ -217,6 +217,8 @@ void sbbs_t::outchar(char ch)
putcom("\x1b[2J\x1b[H"); /* clear screen, home cursor */
}
else {
if(ch==TELNET_IAC && !(telnet_mode&TELNET_MODE_OFF))
outcom(TELNET_IAC); /* Must escape Telnet IAC char (255) */
i=0;
while(outcom(ch)&TXBOF && i<1440) { /* 3 minute pause delay */
if(!online)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment