summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Bao <fishbaozi@gmail.com>2012-10-23 11:48:36 +0800
committerPeter Stuge <peter@stuge.se>2012-10-23 05:05:53 +0200
commitdef50b061d58e6f8d322dcbee931ac28005716da (patch)
tree91f78a0a76eef68305e87c1675913106d2adc6f7
parent545167252d564ed13a669f62a29a5a2640c55a43 (diff)
kconfig: Some terms or curses libraries treat backspace as 0x08
Change-Id: Ie4e4a2f0d68643a8f46d24ee7bd1b953e9fe14a5 Signed-off-by: Zheng Bao <zheng.bao@amd.com> Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: http://review.coreboot.org/1605 Tested-by: build bot (Jenkins) Reviewed-by: Peter Stuge <peter@stuge.se>
-rw-r--r--util/kconfig/lxdialog/inputbox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/kconfig/lxdialog/inputbox.c b/util/kconfig/lxdialog/inputbox.c
index 38585f0885..ef4569f8a6 100644
--- a/util/kconfig/lxdialog/inputbox.c
+++ b/util/kconfig/lxdialog/inputbox.c
@@ -127,6 +127,7 @@ do_resize:
continue;
case KEY_BACKSPACE:
case 127:
+ case '\b':
if (input_x || scroll) {
wattrset(dialog, dlg.inputbox.atr);
if (!input_x) {