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

Added ANSI code to home cursor after screen clear (required for some dumb terminals).

parent bc1ad8cf
Branches
Tags
No related merge requests found
...@@ -1429,7 +1429,7 @@ void cls(void) ...@@ -1429,7 +1429,7 @@ void cls(void)
bpause(); } bpause(); }
if(user_misc&ANSI) if(user_misc&ANSI)
bprintf("\x1b[2J"); bputs("\x1b[2J\x1b[H"); /* clear screen, home cursor */
else else
outchar(FF); outchar(FF);
tos=1; tos=1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment