From: hollisb Date: Sat, 9 Oct 2004 02:37:18 +0000 (+0000) Subject: 2004-10-08 Hollis Blanchard X-Git-Tag: 1.98~2190 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=026fa2f9efa4b9af0acf836311ea7a47cc9a2ab7;p=thirdparty%2Fgrub.git 2004-10-08 Hollis Blanchard * term/powerpc/ieee1275/ieee1275.c (grub_ofconsole_cls): Use an ANSI escape sequence instead of a literal ^L. Also call grub_ofconsole_gotoxy. --- diff --git a/ChangeLog b/ChangeLog index ed963efd4..3ae1a45eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-10-08 Hollis Blanchard + + * term/powerpc/ieee1275/ieee1275.c (grub_ofconsole_cls): Use an ANSI + escape sequence instead of a literal ^L. Also call + grub_ofconsole_gotoxy. + 2004-10-03 Hollis Blanchard * boot/powerpc/ieee1275/ieee1275.c (grub_ieee1275_claim): change diff --git a/term/powerpc/ieee1275/ofconsole.c b/term/powerpc/ieee1275/ofconsole.c index 83c22d08d..73c54eea7 100644 --- a/term/powerpc/ieee1275/ofconsole.c +++ b/term/powerpc/ieee1275/ofconsole.c @@ -222,7 +222,8 @@ static void grub_ofconsole_cls (void) { /* Clear the screen. */ - grub_ofconsole_writeesc (" "); + grub_ofconsole_writeesc ("\e[2J"); + grub_gotoxy (0, 0); } static void