diff --git a/src/main.lua b/src/main.lua index 8955710..85bb806 100644 --- a/src/main.lua +++ b/src/main.lua @@ -11,7 +11,12 @@ print("JUFS Technologies (c) 2026 (Justus Wolff)") print("fuel: "..tostring(turtle.getFuelLevel()).."/"..tostring(turtle.getFuelLimit())) +function term.setcol(fc, bc) + term.setTextColor(fc) + term.setBackgroundColor(bc) +end local function reset() + term.setcol(colors.white, colors.white) term.clear() term.setCursorPos(1,1) end @@ -19,10 +24,6 @@ local function incline() local _,y = term.getCursorPos() term.setCursorPos(1,y+1) end -function term.setcol(fc, bc) - term.setTextColor(fc) - term.setBackgroundColor(bc) -end local function selopt(options, title) local selected = 1