All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bugfix] Characters disappearing in gfxterm
@ 2009-02-07 23:14 phcoder
  2009-02-08  8:47 ` Vesa Jääskeläinen
  0 siblings, 1 reply; 9+ messages in thread
From: phcoder @ 2009-02-07 23:14 UTC (permalink / raw)
  To: The development of GRUB 2

[-- Attachment #1: Type: text/plain, Size: 188 bytes --]

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

[-- Attachment #2: cursorfix --]
[-- Type: text/plain, Size: 1232 bytes --]

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  <phcoder@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  <chaac@nic.fi>
 
 	Fixes problem when running vbetest command as reported by 

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-03-16  1:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-07 23:14 [Bugfix] Characters disappearing in gfxterm phcoder
2009-02-08  8:47 ` Vesa Jääskeläinen
2009-02-10  2:04   ` BandiPat
2009-02-10 16:12     ` Vesa Jääskeläinen
2009-03-11 14:36   ` BandiPat
2009-03-11 21:10     ` Robert Millan
2009-03-12 13:34       ` BandiPat
2009-03-12 19:08   ` [Bugfix] Characters disappearing in gfxterm [fix committed] Colin D Bennett
2009-03-16  1:27     ` BandiPat

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.