Clear the screen before printing stats

This commit is contained in:
Andrea Mazzoleni 2016-01-27 20:39:00 +01:00
parent 252d613eae
commit 11a8e301f4
4 changed files with 34 additions and 0 deletions

View file

@ -1226,5 +1226,11 @@ void os_abort(void)
}
/* LCOV_EXCL_STOP */
void os_clear(void)
{
/* ANSI code for clear screen */
printf("\033[2J");
}
#endif