cc-mek-scada/initenv.lua
2023-11-27 19:32:52 -05:00

9 lines
248 B
Lua

return {
-- initialize booted environment
init_env = function ()
local _require, _env = require("cc.require"), setmetatable({}, { __index = _ENV })
require, package = _require.make(_env, "/")
term.clear(); term.setCursorPos(1, 1)
end
}