From f3130108e55fa5c7bc205d0385b3f76fb6b90f4d Mon Sep 17 00:00:00 2001 From: LDDestroier Date: Wed, 22 Jan 2020 04:28:38 -0500 Subject: [PATCH] Update ghost.lua --- windont/ghost.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/windont/ghost.lua b/windont/ghost.lua index 73cf73b..cbe5f2a 100644 --- a/windont/ghost.lua +++ b/windont/ghost.lua @@ -125,8 +125,8 @@ if multishell then end parallel.waitForAny(function() - shell.run(filename or "/rom/programs/shell.lua") -end, function() + pcall(function() shell.run(filename or "/rom/programs/shell.lua") end) + end, function() while true do 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)