Skip to content
Snippets Groups Projects
Commit a6845a33 authored by deuce's avatar deuce
Browse files

Use non-destructive backspace. SyncTERM now passes the ncurses tests which

ship with ncurses 5.5 perfectly when using the termcap available from
http://www.ansi-bbs.org/
parent c252d62a
No related branches found
No related tags found
No related merge requests found
......@@ -1236,8 +1236,12 @@ void ctputs(char *buf)
gotoxy(cx,cy);
break;
case '\b':
*p=0;
cputs(outp);
outp=p+1;
if(cx>0)
cx--;
gotoxy(cx,cy);
break;
case 7: /* Bell */
break;
......
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