diff --git a/src/main.lua b/src/main.lua index f21e6c1..8955710 100644 --- a/src/main.lua +++ b/src/main.lua @@ -24,13 +24,12 @@ function term.setcol(fc, bc) term.setBackgroundColor(bc) end local function selopt(options, title) - reset() - term.setcol(colors.black, colors.white) - term.write(title) - local selected = 1 while true do + reset() + term.setcol(colors.black, colors.white) + term.write(title) for i,v in pairs(options) do incline() if i == selected then