From: Michael Brown Date: Tue, 19 Dec 2006 22:37:12 +0000 (+0000) Subject: Explicitly move cursor to top-left of screen, in case the clear screen X-Git-Tag: mcb-xen-demo~326 X-Git-Url: http://git.etherboot.org/people/xl0/gpxe.git/commitdiff_plain/abbfbd678d38536f2c2e9d9c4e0bbaf22e09ef46 Explicitly move cursor to top-left of screen, in case the clear screen call doesn't do it. --- diff --git a/src/hci/mucurses/ansi_screen.c b/src/hci/mucurses/ansi_screen.c index 194439a8..b230b2b5 100644 --- a/src/hci/mucurses/ansi_screen.c +++ b/src/hci/mucurses/ansi_screen.c @@ -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 ) {