OSDN Git Service

kconfig/[mn]conf: handle backspace (^H) key
authorChangbin Du <changbin.du@gmail.com>
Mon, 25 Mar 2019 15:16:47 +0000 (15:16 +0000)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 29 Mar 2019 13:48:01 +0000 (22:48 +0900)
commit9c38f1f044080392603c497ecca4d7d09876ff99
treecfccd65421505a7cabf6e3e9f13a1ed64035ecf7
parent54a7151b1496cddbb7a83546b7998103e98edc88
kconfig/[mn]conf: handle backspace (^H) key

Backspace is not working on some terminal emulators which do not send the
key code defined by terminfo. Terminals either send '^H' (8) or '^?' (127).
But currently only '^?' is handled. Let's also handle '^H' for those
terminals.

Signed-off-by: Changbin Du <changbin.du@gmail.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/kconfig/lxdialog/inputbox.c
scripts/kconfig/nconf.c
scripts/kconfig/nconf.gui.c