Skip to content
Commit 03d31fcf authored by Gabe Black's avatar Gabe Black Committed by Anatolij Gustschin
Browse files

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: default avatarGabe Black <gabeblack@chromium.org>
Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
parent 7708d8b3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment