diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-09-16 00:52:07 +0300 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-09-23 22:55:30 +0300 |
commit | 6bb591f7041fdd201814b8866c1a55775662ab7f (patch) | |
tree | 2eab2621cf5f58c5770bc7db4f77aad7abe1d7bd /lib/efi_driver/efi_uclass.c | |
parent | 7b05667ce23914f6989f8c2ade1ac96ce4ff4eb6 (diff) | |
download | u-boot-6bb591f7041fdd201814b8866c1a55775662ab7f.tar.xz |
efi_loader: query serial console size reliably
Not all terminals understand CSI [18t for querying the console size.
We should adhere to escape sequences documented in the console_codes
manpage and the ECMA-48 standard.
So here we follow a different approach. We position the cursor to the
bottom right and query its position. Before leaving the function we
restore the original cursor position.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib/efi_driver/efi_uclass.c')
0 files changed, 0 insertions, 0 deletions