From 026fa2f9efa4b9af0acf836311ea7a47cc9a2ab7 Mon Sep 17 00:00:00 2001 From: hollisb Date: Sat, 9 Oct 2004 02:37:18 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ term/powerpc/ieee1275/ofconsole.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) 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