From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Mon, 5 Dec 2011 22:07:42 +0100 Subject: [U-Boot] [PATCH v3] video: cfb_console: Make the software cursor non-destructive In-Reply-To: <1322697050-27844-1-git-send-email-agust@denx.de> References: <1320788820-19191-1-git-send-email-gabeblack@chromium.org> <1322697050-27844-1-git-send-email-agust@denx.de> Message-ID: <20111205220742.18ed6e2f@wker> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 1 Dec 2011 00:50:50 +0100 Anatolij Gustschin wrote: > From: Gabe Black > > 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 > Acked-by: Mike Frysinger > Signed-off-by: Anatolij Gustschin > --- > Changes in v3: > - fixed checkpatch errors > - slightly modified subject line > - fixed cursor position if video logo is used > > Changes in v2: > - Tidy up commit message wording. > - Undo change to documenting comment. > - Undo minor whitespace tweak. > - Consolidate CONFIG_CONSOLE_CURSOR and CONFIG_VIDEO_SW_CURSOR. > - Get rid of a space between video_invertchar and its (. > > drivers/video/cfb_console.c | 109 +++++++++++++++++++++---------------------- > 1 files changed, 53 insertions(+), 56 deletions(-) Applied to u-boot-video/master. Thanks! Anatolij