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
1 changed files with 2 additions and 1 deletions

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