freebsd-dev/stand/lua
Kyle Evans beafe96147 lualoader: Track the menu currently drawn, instead of validity
This cleans up the odd approach to menu drawing. Instead of tracking
validity, we track the menu that was drawn on the screen. Whenever we draw a
menu, we'll set this to that menu.

Anything that invalidates the screen should go ahead and trigger an explicit
redraw, rather than finding a wy to set screen_invalid.

The currently drawn menu is then reset in menu.run as we exit the menu
system, so that dropping to the loader prompt or leaving menu.run() will
just behave as expected without doing redundant work every time we leave a
menu.
2018-02-25 17:02:50 +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: Track the menu currently drawn, instead of validity 2018-02-25 17:02:50 +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