updates for environment handling changes

This commit is contained in:
kepler155c@gmail.com
2020-05-11 17:26:43 -06:00
parent 759e4e2b95
commit ad32dcc2df
17 changed files with 200 additions and 149 deletions

View File

@@ -1024,7 +1024,7 @@ actions = {
else
local fn, msg = load(_concat(tLines, '\n'), fileInfo.path)
if fn then
multishell.openTab({
multishell.openTab(_ENV, {
fn = fn,
focused = true,
title = fs.getName(fileInfo.path),
@@ -1544,5 +1544,5 @@ local s, m = pcall(function() UI:start() end)
if not s then
actions.save('/crash.txt')
print('Editor has crashed. File saved as /crash.txt')
error(m)
error(m, -1)
end