Update sPhone.lua
This commit is contained in:
parent
067fd2315c
commit
65f6f222da
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue