menu: Re-enable the ANSI codes
authorSimon Glass <sjg@chromium.org>
Sat, 17 Jun 2023 10:49:48 +0000 (11:49 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 23 Jun 2023 18:38:16 +0000 (14:38 -0400)
commita7536e95e2f2a07be369628f7e9b517b20210e4b
tree831334b2fd440fc12e4836c5dbb147eba785b7d0
parentb2101df305212dd3b98486cbec1d1f15da0832de
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>
common/menu.c