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

ANSI cursor position reports of greater than 2 digits now supported (fix for

Win2K/XP telnet).
Corsor position report logged.
parent beeb2945
Branches
Tags
No related merge requests found
......@@ -158,8 +158,11 @@ bool sbbs_t::answer()
if(l) {
if(str[0]==ESC && str[1]=='[') {
autoterm|=(ANSI|COLOR);
rows=((str[2]&0xf)*10)+(str[3]&0xf);
if(rows<10 || rows>99) rows=24; }
rows=atoi(str+2);
lprintf("Node %d ANSI cursor position report: %u rows"
,cfg.node_num, rows);
if(rows<10 || rows>99) rows=24;
}
truncsp(str);
if(strstr(str,"RIPSCRIP")) {
logline("@R",strstr(str,"RIPSCRIP"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment