mirror of
https://github.com/kepler155c/opus
synced 2025-10-29 22:53:01 +00:00
oops
This commit is contained in:
@@ -6,10 +6,9 @@ local History = require('history')
|
||||
local UI = require('ui')
|
||||
local Util = require('util')
|
||||
|
||||
local sandboxEnv = Util.shallowCopy(getfenv(1))
|
||||
setmetatable(sandboxEnv, { __index = _G })
|
||||
local sandboxEnv = setmetatable(Util.shallowCopy(getfenv(1)), { __index = _G })
|
||||
sandboxEnv.exit = function() Event.exitPullEvents() end
|
||||
injector(sandboxEnv)
|
||||
requireInjector(sandboxEnv)
|
||||
|
||||
multishell.setTitle(multishell.getCurrent(), 'Lua')
|
||||
UI:configure('Lua', ...)
|
||||
|
||||
Reference in New Issue
Block a user