kconfig/[mn]conf: handle backspace (^H) key
commit13103fc1d59a2f8758882f0a29df853ba6d22bf0
authorChangbin Du <changbin.du@gmail.com>
Mon, 25 Mar 2019 15:16:47 +0000 (25 15:16 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 4 May 2019 06:49:10 +0000 (4 08:49 +0200)
tree5120725c885a27277e911fff395a9b33b889a73b
parent9b972025208dd985770b972dd6ed63cb1a4b118d
kconfig/[mn]conf: handle backspace (^H) key

[ Upstream commit 9c38f1f044080392603c497ecca4d7d09876ff99 ]

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>
Signed-off-by: Sasha Levin (Microsoft) <sashal@kernel.org>
scripts/kconfig/lxdialog/inputbox.c
scripts/kconfig/nconf.c
scripts/kconfig/nconf.gui.c