1
0
mirror of https://github.com/LDDestroier/CC/ synced 2024-12-04 23:39:58 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 = {}