E
This commit is contained in:
@@ -96,11 +96,11 @@ function aceVM.start(id, disks)
|
||||
if ret[1] == false then
|
||||
break
|
||||
end
|
||||
local timer = os.startTimer(0)
|
||||
local timer = os.queueEvent("nosleep")
|
||||
local exit = false
|
||||
repeat
|
||||
local event = {coroutine.yield()}
|
||||
if event[1] == "timer" and event[2]==timer then
|
||||
if event[1] == "nosleep" then
|
||||
exit=true
|
||||
elseif event[1]==nil then
|
||||
elseif event[1]=="key" then
|
||||
@@ -121,4 +121,4 @@ function aceVM.start(id, disks)
|
||||
aceVM.exitVM = false
|
||||
term.clear()
|
||||
term.setCursorPos(1,1)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user