From c671428cbce9aa2d98994f3c7c0f66817c79cf4f Mon Sep 17 00:00:00 2001 From: Justus Wolff Date: Sat, 14 Feb 2026 22:26:20 +0100 Subject: [PATCH] also fix another bug in selopt --- src/main.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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