* grub-core/kern/ieee1275/cmain.c (grub_ieee1275_find_options): Set

GRUB_IEEE1275_FLAG_CURSORONOFF_ANSI_BROKEN on mac.
	* grub-core/term/ieee1275/console.c (grub_console_init_lately): Use
	ieee1275-nocursor if GRUB_IEEE1275_FLAG_CURSORONOFF_ANSI_BROKEN is set.
	* grub-core/term/terminfo.c (grub_terminfo_set_current): Add new type
	ieee1275-nocursor.
	* include/grub/ieee1275/ieee1275.h (grub_ieee1275_flag): New value
	GRUB_IEEE1275_FLAG_CURSORONOFF_ANSI_BROKEN.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-09-18 11:52:19 +02:00
parent 4e09245441
commit 7ddffdadea
5 changed files with 29 additions and 5 deletions

View file

@ -247,9 +247,10 @@ grub_console_init_lately (void)
if (grub_ieee1275_test_flag (GRUB_IEEE1275_FLAG_NO_ANSI))
type = "dumb";
else if (grub_ieee1275_test_flag (GRUB_IEEE1275_FLAG_CURSORONOFF_ANSI_BROKEN))
type = "ieee1275-nocursor";
else
type = "ieee1275";
grub_terminfo_init ();
grub_terminfo_output_register (&grub_console_term_output, type);
}