]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit6bf6a00e58cc82678f1a35186cb13499c16aa8a7
tree831334b2fd440fc12e4836c5dbb147eba785b7d0
parentf8dfb3f3dadf9ba0deef6e16c27065832c62d707
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: 3864a2985ac8 ("menu: Make use of CLI character processing")
Tested-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
common/menu.c