Update sPhone.lua

This commit is contained in:
Ale2610 2015-09-20 16:06:47 +02:00
parent 067fd2315c
commit 65f6f222da

View file

@ -39,6 +39,7 @@ local function kernel()
version = "Alpha 2.2", version = "Alpha 2.2",
user = "Run sID", user = "Run sID",
devMode = false, devMode = false,
mainTerm = term.current()
} }
if runningOnStartup then if runningOnStartup then
@ -288,6 +289,7 @@ local function kernel()
write("Shutdown") write("Shutdown")
end end
while true do while true do
term.redirect(sPhone.mainTerm)
redraw() redraw()
local _,_,x,y = os.pullEvent("mouse_click") local _,_,x,y = os.pullEvent("mouse_click")
if y == 3 then if y == 3 then