Missing part of r2705

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-09-08 19:09:07 +02:00
parent c0e53ea537
commit 5f7a44bf92

View file

@ -117,9 +117,14 @@ grub_ofconsole_getwh (struct grub_term_output *term __attribute__ ((unused)))
} }
static void static void
grub_ofconsole_setcursor (struct grub_term_output *term __attribute__ ((unused)), grub_ofconsole_setcursor (struct grub_term_output *term,
int on) int on)
{ {
grub_terminfo_setcursor (term, on);
if (!grub_ieee1275_test_flag (GRUB_IEEE1275_FLAG_HAS_CURSORONOFF))
return;
/* Understood by the Open Firmware flavour in OLPC. */ /* Understood by the Open Firmware flavour in OLPC. */
if (on) if (on)
grub_ieee1275_interpret ("cursor-on", 0); grub_ieee1275_interpret ("cursor-on", 0);