Skip to content
Snippets Groups Projects
Commit fc9d64ff authored by Pali Rohár's avatar Pali Rohár Committed by Anatolij Gustschin
Browse files

menu: Add support for user defined item choice function


Selecting menu items is currently done in menu_interactive_choice()
by reading the user input strings from standard input.

Extend menu_interactive_choice() to support user defined function
for selecting menu items. This function and its argument can be
specified when creating the menu.

Signed-off-by: default avatarPali Rohár <pali.rohar@gmail.com>
Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
parent 009d75cc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment