]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: Correct setting of cursor position
authorSimon Glass <sjg@chromium.org>
Thu, 4 Jan 2024 15:10:37 +0000 (08:10 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 11 Apr 2024 02:01:33 +0000 (20:01 -0600)
commit9e95e909f6a6f9d17555d0ae1967fb3c6375b110
treec9eec891829dc6af7eb84656ed800f66d5697de1
parent3e47f299b919ebe272b2f325d36e11590ac84f02
video: Correct setting of cursor position

The ANSI codes are not correctly handled at present, in that the
requested X position is added to the current one.

Correct this and also call vidconsole_entry_start() to start a new text
line.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
drivers/video/vidconsole-uclass.c