fix an rendering bug with reset
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user