]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: updating the cursor position
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 29 Apr 2018 14:24:25 +0000 (16:24 +0200)
committerAlexander Graf <agraf@suse.de>
Sun, 3 Jun 2018 13:27:20 +0000 (15:27 +0200)
commit7ca7c3c0f927b91dad3a5b2d185fe79d12872b6d
treefedcc85e75058738729b38fd67388c45907bddae
parent1f0532ca15aa8fafa1e133e6b5ce8d0bf08fac46
efi_loader: updating the cursor position

The current coding advances the column by the number of UTF-8 bytes.
The column should be increased by one per unicode character.

The UEFI spec provides advance rules for U+0000, U+0008, U+000A,
and U000D. All other characters, including control characters
U+0007 (bel) and U+0009 (tab), have to increase the column by one.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_console.c