Update ghost.lua

This commit is contained in:
LDDestroier 2020-01-22 04:28:38 -05:00 committed by GitHub
parent 703da9de25
commit f3130108e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -125,8 +125,8 @@ if multishell then
end end
parallel.waitForAny(function() parallel.waitForAny(function()
shell.run(filename or "/rom/programs/shell.lua") pcall(function() shell.run(filename or "/rom/programs/shell.lua") end)
end, function() end, function()
while true do while true do
if gstTerm.meta.width ~= newTerm.meta.width or gstTerm.meta.height ~= newTerm.meta.height then if gstTerm.meta.width ~= newTerm.meta.width or gstTerm.meta.height ~= newTerm.meta.height then
gstTerm.reposition(1, 1, newTerm.meta.width, newTerm.meta.height) gstTerm.reposition(1, 1, newTerm.meta.width, newTerm.meta.height)