freebsd-dev/stand/lua
Kyle Evans fe226a72cb lualoader: Invalidate the screen from menu perspective upon mnu exit
In the common case, this will effectively do nothing as the menu will get
redrawn as we leave submenus regardless of whether the screen has been
marked invalid or not

However, upon escape to the loader prompt, one could do either of the
following to re-enter the menu system:

-- Method 1
require('menu').run()

-- Method 2
require('menu').process(menu.default)

With method 1, the menu will get redrawn anyways as we do this before
autoboot checking upon entry. With method 2, however, the menu will not be
redrawn without this invalidation.

Both methods are acceptable for re-entering the menu system, although the
latter method in the local module for processing new and interesting menus
is more expected.
2018-02-25 16:29:02 +00:00
..
cli.lua lualoader: Explain deviation from naming guidelines 2018-02-25 05:14:06 +00:00
color.lua Add SPDX tags to lua files 2018-02-23 02:51:35 +00:00
config.lua lualoader: Don't explicitly index tables without reason 2018-02-25 03:30:24 +00:00
core.lua lualoader: Clean up naming conventions a little bit 2018-02-24 20:21:21 +00:00
drawer.lua lualoader: Clean up naming conventions a little bit 2018-02-24 20:21:21 +00:00
loader.lua Add SPDX tags to lua files 2018-02-23 02:51:35 +00:00
Makefile lualoader: Split cli bits out into a cli module 2018-02-22 01:21:39 +00:00
menu.lua lualoader: Invalidate the screen from menu perspective upon mnu exit 2018-02-25 16:29:02 +00:00
password.lua lualoader: Clean up naming conventions a little bit 2018-02-24 20:21:21 +00:00
screen.lua Add SPDX tags to lua files 2018-02-23 02:51:35 +00:00