2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-14 07:11:32 +00:00

Explicitly move cursor to top-left of screen, in case the clear screen

call doesn't do it.
This commit is contained in:
Michael Brown 2006-12-19 22:37:12 +00:00
parent b3c535e550
commit abbfbd678d

View File

@ -9,7 +9,7 @@ static void ansiscr_init ( struct _curses_screen *scr ) {
scr->attrs = 0;
scr->curs_x = 0;
scr->curs_y = 0;
printf ( "\033[0m\033[2J" );
printf ( "\033[0m\033[2J\033[1;1H" );
}
static void ansiscr_exit ( struct _curses_screen *scr __unused ) {