From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LVwNb-0000Fr-UB for mharc-grub-devel@gnu.org; Sat, 07 Feb 2009 18:14:31 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LVwNa-0000E4-3A for grub-devel@gnu.org; Sat, 07 Feb 2009 18:14:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LVwNY-0000CE-Hq for grub-devel@gnu.org; Sat, 07 Feb 2009 18:14:29 -0500 Received: from [199.232.76.173] (port=57696 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVwNY-0000C3-6r for grub-devel@gnu.org; Sat, 07 Feb 2009 18:14:28 -0500 Received: from fg-out-1718.google.com ([72.14.220.156]:33002) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LVwNX-0008PY-Lu for grub-devel@gnu.org; Sat, 07 Feb 2009 18:14:27 -0500 Received: by fg-out-1718.google.com with SMTP id l27so890706fgb.30 for ; Sat, 07 Feb 2009 15:14:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type; bh=1Nkn25e19sh4T2WUwTkDaZH4BZw4ubQgpR+lY+ke7wI=; b=qzzH2iO6h3Z3jFZ4ha1wrmIsWFP1ub1tzeeSC1D9eoilt/nyH6RvwOVf5YCzywFzfc p+baQGJAxMLr8Tv+tt1IRAkDuz9rMZM7LYpuwpnAlTULSvIY+J2c0GbYZpsC8riQDI7s 1RGZxMe0xkzfX9FjnNH+6uMl7HFV9Jc0hQfE4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; b=WQtwP0libhDlOFaw5bsA74KhUrhTehbpsaZ+oxorzAQNr06TMfFEP1a/L2+ml7rGQp F7Ub56kptlxVsnh4q6+rqJTAlu8wR/iRahv/Op3rY/TTAkaYAWGTRN2j2KFvRK6JbF7A wQH0QJYMe+Gglvle8Hvypdq5Vh2q12uSbT8y0= Received: by 10.86.80.17 with SMTP id d17mr1878504fgb.48.1234048465878; Sat, 07 Feb 2009 15:14:25 -0800 (PST) Received: from ?192.168.1.25? (27.67.202.62.cust.bluewin.ch [62.202.67.27]) by mx.google.com with ESMTPS id e20sm8016938fga.56.2009.02.07.15.14.25 (version=SSLv3 cipher=RC4-MD5); Sat, 07 Feb 2009 15:14:25 -0800 (PST) Message-ID: <498E15D0.4090101@gmail.com> Date: Sun, 08 Feb 2009 00:14:24 +0100 From: phcoder User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: The development of GRUB 2 Content-Type: multipart/mixed; boundary="------------040207020603030102080502" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: [Bugfix] Characters disappearing in gfxterm X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 23:14:30 -0000 This is a multi-part message in MIME format. --------------040207020603030102080502 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------040207020603030102080502 Content-Type: text/plain; name="cursorfix" Content-Transfer-Encoding: 8bit Content-Disposition: inline; filename="cursorfix" 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 + + 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 Fixes problem when running vbetest command as reported by --------------040207020603030102080502--