menu: Make use of CLI character processing
authorSimon Glass <sjg@chromium.org>
Fri, 6 Jan 2023 14:52:26 +0000 (08:52 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 16 Jan 2023 19:14:11 +0000 (14:14 -0500)
commit32bab0eae51b55898d1e2804e6614d9143840581
tree67686cc8705aaf301695e8b66f50f613422b60b9
parent86cc3c5215fc6e3c2cb77ee162c22ad91dbfaff5
menu: Make use of CLI character processing

Avoid duplicating some of the escape-sequence processing here and use the
CLI function instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/bootmenu.c
cmd/eficonfig.c
common/cli_getch.c
common/menu.c
include/cli.h
include/menu.h