diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-09-15 23:52:07 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-09-23 21:55:30 +0200 |
commit | 6bb591f7041fdd201814b8866c1a55775662ab7f (patch) | |
tree | 2eab2621cf5f58c5770bc7db4f77aad7abe1d7bd /lib/efi_loader/efi_runtime.c | |
parent | 7b05667ce23914f6989f8c2ade1ac96ce4ff4eb6 (diff) |
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_loader/efi_runtime.c')
0 files changed, 0 insertions, 0 deletions