]> git.baikalelectronics.ru Git - kernel.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)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 29 Mar 2019 13:48:01 +0000 (22:48 +0900)
commit1d7af0153775a88c255b3d3f7305c2ac5cd59f14
treecfccd65421505a7cabf6e3e9f13a1ed64035ecf7
parent26c6cdb7503abeb6901061ca125e4941134d7344
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