[U-Boot] [PATCH v3 1/1] dm: video: correctly set the cursor position

Anatolij Gustschin agust at denx.de
Sat Nov 17 10:52:34 UTC 2018


On Sat, 10 Nov 2018 19:55:48 +0100
Heinrich Schuchardt xypron.glpk at gmx.de wrote:

> The terminal escape sequence ESC [ <x> ; <y> H is used to set the cursor
> position. According to the ECMA 48 standard the upper left corner in the
> escape sequences is [1, 1]. The video uclass uses [0, 0] as upper left
> corner.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> v3:
> 	update unit test
> v2
> 	remove trailing whitespace
> ---
>  drivers/video/vidconsole-uclass.c | 8 ++++++++
>  test/dm/video.c                   | 4 ++--
>  2 files changed, 10 insertions(+), 2 deletions(-)

Applied to u-boot-video/master, thanks!

--
Anatolij


More information about the U-Boot mailing list