aboutsummaryrefslogtreecommitdiff
path: root/stand/lua/loader.lua
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2018-03-19 15:48:31 +0000
committerKyle Evans <kevans@FreeBSD.org>2018-03-19 15:48:31 +0000
commit85efc91a3c81b448a5d01bbd24faa17215568d35 (patch)
tree133efac50a5e0a5ae017cd3d4630d7d11141e125 /stand/lua/loader.lua
parentd9d3a08ed48067830d276c70c2b40bf99cf30223 (diff)
Notes
Diffstat (limited to 'stand/lua/loader.lua')
-rw-r--r--stand/lua/loader.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/stand/lua/loader.lua b/stand/lua/loader.lua
index 863f7613b3da..b406ba4969e9 100644
--- a/stand/lua/loader.lua
+++ b/stand/lua/loader.lua
@@ -34,6 +34,7 @@
-- Other modules will also need some of the functions it defines to safely
-- execute loader commands.
require("cli")
+local color = require("color")
local core = require("core")
local config = require("config")
local menu
@@ -49,6 +50,11 @@ if result ~= nil then
end
config.load()
+-- Our console may have been setup for a different color scheme before we get
+-- here, so make sure we set the default.
+if color.isEnabled() then
+ printc(color.default())
+end
password.check()
-- menu might be disabled
if menu ~= nil then