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

Simon Glass sjg at chromium.org
Tue Nov 13 19:54:00 UTC 2018


On 10 November 2018 at 10:55, 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(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list