video: cfb_console: Make the software cursor non-destructive
authorGabe Black <gabeblack@chromium.org>
Wed, 30 Nov 2011 13:50:50 +0000 (13:50 +0000)
committerAnatolij Gustschin <agust@denx.de>
Mon, 5 Dec 2011 21:05:24 +0000 (22:05 +0100)
commit03d31fcf4c37d90a00e66f06b38742960139f090
treec149b39385aa4c09dcab87b13be8c139cb5ee427
parent7708d8b352e9e595f6f08afd3206af6495c7dc09
video: cfb_console: Make the software cursor non-destructive

When printing the string "\r\n" to the framebuffer console, the first
character of the current line was being replaced with a space. The "boot"
prompt would become the "oot" prompt. This change makes the cursor
non-destructive so that no matter where it goes on its way to where it's
supposed to be, the end result is that the cursor is where it's supposed to
be with the other text preserved.

Signed-off-by: Gabe Black <gabeblack@chromium.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
drivers/video/cfb_console.c