Hello. I've run into the bug that when editing menu entry in gfxterm
characters disappear after cursor moves away from its position. Here is
bugfix
Thanks
Vladimir 'phcoder' Serbinenko
Index: term/gfxterm.c
===================================================================
--- term/gfxterm.c (revision 1974)
+++ term/gfxterm.c (working copy)
@@ -744,6 +744,8 @@
/* Render cursor to text layer. */
grub_video_set_active_render_target (text_layer);
grub_video_fill_rect (color, x, y, width, height);
+ if (! show)
+ write_char ();
grub_video_set_active_render_target (GRUB_VIDEO_RENDER_TARGET_DISPLAY);
/* Mark cursor to be redrawn. */
@@ -1176,6 +1178,6 @@
GRUB_MOD_FINI(term_gfxterm)
{
- grub_unregister_command ("bgimage");
+ grub_unregister_command ("background_image");
grub_term_unregister_output (&grub_video_term);
}
Index: ChangeLog
===================================================================
--- ChangeLog (revision 1974)
+++ ChangeLog (working copy)
@@ -1,3 +1,24 @@
+2009-02-07 Vladimir Serbinenko <phco...@gmail.com>
+
+ Redraw character so it doesn't disappear after cursor moves from it
+
+ * term/gfterm.c (draw_cursor): Redraw character so it
+ doesn't disappear after cursor moves from it
+ (GRUB_MOD_FINI): correct the name of the command
+
2009-02-05 Vesa Jääskeläinen <ch...@nic.fi>
Fixes problem when running vbetest command as reported by
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel