Lines Matching refs:menu
37 local menu = {}
69 menu.handlers = {
94 menu.process(entry.submenu)
106 menu.boot_environments = {
157 menu.boot_options = {
220 menu.welcome = {
222 local menu_entries = menu.welcome.all_entries
364 submenu = menu.boot_options,
400 submenu = menu.boot_environments,
436 menu.default = menu.welcome
440 menu.current_alias_table = {}
442 function menu.draw(menudef)
445 menu.current_alias_table = drawer.drawscreen(menudef)
452 function menu.process(menudef, keypress)
456 menu.draw(menudef)
465 menudef ~= menu.default then
477 for k, v in pairs(menu.current_alias_table) do
486 local handler = menu.handlers[sel_entry.entry_type]
496 menu.draw(menudef)
501 function menu.run()
516 menu.draw(menu.default)
519 autoboot_key = menu.autoboot(delay)
529 menu.process(menu.default, autoboot_key)
536 function menu.autoboot(delay)
573 function cli.menu() function
574 menu.run()
577 return menu