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: v0.9.3~896 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abbfbd678d38536f2c2e9d9c4e0bbaf22e09ef46;p=thirdparty%2Fipxe.git 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 194439a83..b230b2b5e 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 ) {