summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2022-03-02 11:49:23 +0100
committerStefan Roese <[email protected]>2022-03-04 13:12:20 +0100
commite8d26e8276358fcd1c2fe28293d3b4c82a735731 (patch)
treee430ccf8e3c042731063e2a20fab9178048baa0c /include
parent93976af58926626077eca8b7bbd1aa592649ec01 (diff)
tools: kwboot: Add support for backspace key in mini terminal
Marvell BootROM recognize only '\b' byte as backspace. Use terminfo for retrieving current backspace sequence and replace any occurrence of backspace sequence by the '\b' byte. Reading terminfo database is possible via tigetstr() function from system library libtinfo.so.*. So link kwboot with -ltinfo. Normally terminfo functions are in <term.h> system header file. But this header file conflicts with U-Boot "termios_linux.h" header file. So declare terminfo functions manually. Signed-off-by: Pali Rohár <[email protected]> Reviewed-by: Stefan Roese <[email protected]> Tested-by: Stefan Roese <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions