bootmenu: factor out the user input handling
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Thu, 28 Apr 2022 08:09:45 +0000 (17:09 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 7 May 2022 21:17:26 +0000 (23:17 +0200)
commit3ae6cf5400ee004c309f73f358c1043cf6d8eecc
treee26fc87f501b266147b4de02149ad1d995a94a44
parent6ae494831d13e96e5bc82b70c8061f5771219c3c
bootmenu: factor out the user input handling

This commit moves the user input handling from cmd/bootmenu.c
to common/menu.c to reuse it from other modules.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
cmd/bootmenu.c
common/menu.c
include/menu.h