+2005-08-30 Hollis Blanchard <hollis@penguinppc.org>
+
+ * term/ieee1275/ofconsole.c (grub_ofconsole_getcharwidth): New
+ function.
+ (grub_ofconsole_term): Specify grub_ofconsole_getcharwidth as
+ getcharwidth.
+
2005-08-28 Marco Gerards <metgerards@student.han.nl>
* include/grub/normal.h (enum grub_completion_type): Added
grub_ieee1275_write (stdout_ihandle, &chr, 1, 0);
}
+static grub_ssize_t
+grub_ofconsole_getcharwidth (grub_uint32_t c)
+{
+ return 1;
+}
+
static void
grub_ofconsole_setcolorstate (grub_term_color_state state)
{
.init = grub_ofconsole_init,
.fini = grub_ofconsole_fini,
.putchar = grub_ofconsole_putchar,
+ .getcharwidth = grub_ofconsole_getcharwidth,
.checkkey = grub_ofconsole_checkkey,
.getkey = grub_ofconsole_getkey,
.getxy = grub_ofconsole_getxy,