aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass2023-06-17 11:49:48 +0100
committerTom Rini2023-06-23 14:38:16 -0400
commita7536e95e2f2a07be369628f7e9b517b20210e4b (patch)
tree831334b2fd440fc12e4836c5dbb147eba785b7d0 /common
parentb2101df305212dd3b98486cbec1d1f15da0832de (diff)
menu: Re-enable the ANSI codes
The intent here was to allow ANSI codes to be disabled, since it was proving impoosible to test operation of the menu code when it kept moving the cursor. Unfortunately this ended up in the patch. Correct this by enabling ANSI again. Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Pali Rohár <pali@kernel.org> Reported-by: Mark Kettenis <mark.kettenis@xs4all.nl> Reported-by: Frank Wunderlich <frank-w@public-files.de> Fixes: 32bab0eae51b ("menu: Make use of CLI character processing") Tested-by: Mark Kettenis <kettenis@openbsd.org> Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Diffstat (limited to 'common')
-rw-r--r--common/menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/menu.c b/common/menu.c
index 94514177e4e..b55cf7b9996 100644
--- a/common/menu.c
+++ b/common/menu.c
@@ -15,7 +15,7 @@
#include "menu.h"
-#define ansi 0
+#define ansi 1
/*
* Internally, each item in a menu is represented by a struct menu_item.