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

Simon Glass
2018-11-13T19:54:00Z

On 10 November 2018 at 10:55, Heinrich Schuchardt <xypron.glpk@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@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@chromium.org>