[PATCH v2] common: Make MENU select PROCESS_ESCAPE_SEQUENCE if HUSH_SHELL is selected

Alan Ott alan at signal11.us
Mon May 21 23:32:17 EDT 2012


print_menu_entry() in common/menu.c calls on process_escape_sequence() when
HUSH_SHELL is selected.

Signed-off-by: Alan Ott <alan at signal11.us>
---
 common/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/common/Kconfig b/common/Kconfig
index 73d620a..7cd0666 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -342,6 +342,7 @@ config AUTO_COMPLETE
 config MENU
 	bool
 	prompt "Menu Framework"
+	select PROCESS_ESCAPE_SEQUENCE if SHELL_HUSH
 	help
 	   a menu framework that allow us to create list menu to simplify
 	   barebox and make it more user-frendly
-- 
1.7.0.4




More information about the barebox mailing list