Update settings.lua
This commit is contained in:
parent
c9e30d782c
commit
06bd10065f
1 changed files with 28 additions and 27 deletions
|
@ -154,12 +154,12 @@ local function redraw()
|
|||
term.setCursorPos(1,3)
|
||||
term.setBackgroundColor(colors.white)
|
||||
term.setTextColor(colors.black)
|
||||
end
|
||||
redraw()
|
||||
end
|
||||
redraw()
|
||||
|
||||
while true do
|
||||
while true do
|
||||
redraw()
|
||||
local name, id = sPhone.menu(menu, "Settings",true)
|
||||
local name, id = sPhone.menu(menu, "Settings","X")
|
||||
if id == 0 then
|
||||
return
|
||||
elseif id == 1 then
|
||||
|
@ -171,4 +171,5 @@ local function redraw()
|
|||
elseif id == 4 then
|
||||
clearLabel()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue