]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
kconfig/[mn]conf: handle backspace (^H) key
authorChangbin Du <changbin.du@gmail.com>
Mon, 25 Mar 2019 15:16:47 +0000 (15:16 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2019 07:17:16 +0000 (09:17 +0200)
commite2e7cf41baba02496190fe1d74e1ad44ec52382c
treef1f69a1da9fd7b91adf325a2edca7558e37ef11e
parentc2e5f31ccbf23d3b12545cc3df137a549e3d1bbb
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