summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown2006-12-19 23:37:12 +0100
committerMichael Brown2006-12-19 23:37:12 +0100
commitabbfbd678d38536f2c2e9d9c4e0bbaf22e09ef46 (patch)
treed9040f9f6b13e3c336365c86a8837662bdd0e7ae
parentSkeletal (non-echoing) version of readline() (diff)
downloadipxe-abbfbd678d38536f2c2e9d9c4e0bbaf22e09ef46.tar.gz
ipxe-abbfbd678d38536f2c2e9d9c4e0bbaf22e09ef46.tar.xz
ipxe-abbfbd678d38536f2c2e9d9c4e0bbaf22e09ef46.zip
Explicitly move cursor to top-left of screen, in case the clear screen
call doesn't do it.
-rw-r--r--src/hci/mucurses/ansi_screen.c2
1 files changed, 1 insertions, 1 deletions
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 ) {