2008-05-31 Robert Millan <rmh@aybabtu.com>

* term/ieee1275/ofconsole.c (grub_ofconsole_setcursor): Implement
        using "cursor-on" and "cursor-off" commands (understood at least by
        the Open Firmware flavour on OLPC).
This commit is contained in:
robertmh 2008-05-31 18:09:14 +00:00
parent 41305bc8f7
commit 6e037aa956
2 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2008-05-31 Robert Millan <rmh@aybabtu.com>
* term/ieee1275/ofconsole.c (grub_ofconsole_setcursor): Implement
using "cursor-on" and "cursor-off" commands (understood at least by
the Open Firmware flavour on OLPC).
2008-05-31 Michael Gorven <michael@gorven.za.net>
* term/terminfo.c (grub_terminfo_set_current): Correct vt100 cursor

View file

@ -302,9 +302,13 @@ grub_ofconsole_cls (void)
}
static void
grub_ofconsole_setcursor (int on __attribute ((unused)))
grub_ofconsole_setcursor (int on)
{
/* XXX: Not supported. */
/* Understood by the Open Firmware flavour in OLPC. */
if (on)
grub_ieee1275_interpret ("cursor-on", 0);
else
grub_ieee1275_interpret ("cursor-off", 0);
}
static void