bugfix builder - refined storage performance

This commit is contained in:
kepler155c@gmail.com
2017-04-14 23:41:04 -04:00
parent 60487d951d
commit dc555a0b1e
5 changed files with 120 additions and 76 deletions

View File

@@ -1,6 +1,5 @@
require = requireInjector(getfenv(1))
local Terminal = require('terminal')
local process = require('process')
local args = { ... }
local mon = device[table.remove(args, 1) or 'monitor']
@@ -15,7 +14,7 @@ mon.setCursorPos(1, 1)
local oterm = Terminal.copy(term.current())
Terminal.mirror(term.current(), mon)
term.current().getSize = function() return mon.getSize() end
term.current().getSize = mon.getSize
if #args > 0 then
shell.run(unpack(args))