mirror of https://github.com/LDDestroier/CC/
Update ghost.lua
This commit is contained in:
parent
703da9de25
commit
f3130108e5
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue