Remove console line before printing debugging and on exit

This commit is contained in:
Andreas Eversberg
2016-07-24 09:12:54 +02:00
parent 123979a0f3
commit c273bbc5ff
6 changed files with 44 additions and 8 deletions

View File

@@ -341,6 +341,8 @@ next_char:
usleep(interval * 1000);
}
clear_console_text();
/* reset terminal */
tcsetattr(0, TCSANOW, &term_orig);
}