1
0
mirror of https://github.com/LDDestroier/CC/ synced 2026-05-27 07:42:14 +00:00

Update trash.lua

This commit is contained in:
LDDestroier
2019-09-11 18:51:32 -04:00
committed by GitHub
parent c1cdf33f6c
commit c8e9b5c117
+2 -1
View File
@@ -959,11 +959,12 @@ tWindow.blink = false
local tOriginal = term.redirect(tWindow.handle)
local program = tArg[1] or "/rom/programs/shell.lua"
table.remove(tArg, 1)
local rendTimer = os.startTimer(0.05)
parallel.waitForAny(function()
shell.run(program)
shell.run(program, table.unpack(tArg))
end, function()
local evt
local keysDown = {}