[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bugfix] Characters disappearing in gfxterm
From: |
phcoder |
Subject: |
[Bugfix] Characters disappearing in gfxterm |
Date: |
Sun, 08 Feb 2009 00:14:24 +0100 |
User-agent: |
Thunderbird 2.0.0.19 (X11/20090105) |
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 <address@hidden>
+
+ 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 <address@hidden>
Fixes problem when running vbetest command as reported by
- [Bugfix] Characters disappearing in gfxterm,
phcoder <=