From: Simon Glass Date: Sat, 17 Jun 2023 10:49:48 +0000 (+0100) Subject: menu: Re-enable the ANSI codes X-Git-Url: http://git.dujemihanovic.xyz/html/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=a7536e95e2f2a07be369628f7e9b517b20210e4b;p=u-boot.git 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 Reported-by: Pali Rohár Reported-by: Mark Kettenis Reported-by: Frank Wunderlich Fixes: 32bab0eae51b ("menu: Make use of CLI character processing") Tested-by: Mark Kettenis Reviewed-by: Mark Kettenis --- diff --git a/common/menu.c b/common/menu.c index 94514177e4..b55cf7b999 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.