From def50b061d58e6f8d322dcbee931ac28005716da Mon Sep 17 00:00:00 2001 From: Zheng Bao Date: Tue, 23 Oct 2012 11:48:36 +0800 Subject: [PATCH] kconfig: Some terms or curses libraries treat backspace as 0x08 Change-Id: Ie4e4a2f0d68643a8f46d24ee7bd1b953e9fe14a5 Signed-off-by: Zheng Bao Signed-off-by: Zheng Bao Reviewed-on: http://review.coreboot.org/1605 Tested-by: build bot (Jenkins) Reviewed-by: Peter Stuge --- util/kconfig/lxdialog/inputbox.c | 1 + 1 file changed, 1 insertion(+) 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) {