2005-11-09 Hollis Blanchard <hollis@penguinppc.org>

* term/ieee1275/ofconsole.c (grub_ofconsole_cls): Use both the ANSI
	escape sequence and a literal ^L to clear the screen.

	* commands/ieee1275/suspend.c (grub_cmd_suspend): Clear the screen
	when returning from Open Firmware.
This commit is contained in:
hollisb 2005-11-10 01:57:52 +00:00
parent d13ea639a8
commit 9046bcf0e6
3 changed files with 14 additions and 2 deletions

View file

@ -21,6 +21,7 @@
#include <grub/normal.h>
#include <grub/dl.h>
#include <grub/misc.h>
#include <grub/term.h>
#include <grub/ieee1275/ieee1275.h>
static grub_err_t
@ -30,6 +31,7 @@ grub_cmd_suspend (struct grub_arg_list *state __attribute__ ((unused)),
{
grub_printf ("Run 'go' to resume GRUB.\n");
grub_ieee1275_enter ();
grub_cls ();
return 0;
}