Missing part of r2705
This commit is contained in:
parent
c0e53ea537
commit
5f7a44bf92
1 changed files with 6 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue