fix: change spelling of color

This commit is contained in:
2025-05-06 18:48:24 -03:00
parent 8b8d0cdfa1
commit 053838f227
+3 -3
View File
@@ -187,7 +187,7 @@ function updateScreen()
local function drawTextCentered(text) local function drawTextCentered(text)
local x = (w / 2) - (text:len() / 2) local x = (w / 2) - (text:len() / 2)
local curX, curY = term.getCursorPos() local _, curY = term.getCursorPos()
term.setCursorPos(x, curY) term.setCursorPos(x, curY)
term.write(text) term.write(text)
end end
@@ -195,8 +195,8 @@ function updateScreen()
term.clear() term.clear()
term.setCursorPos(1, 1) term.setCursorPos(1, 1)
term.setBackgroundColour(colours.lightGray) term.setBackgroundColor(colors.lightGray)
term.setTextColour(colours.black) term.setTextColour(colors.black)
term.clearLine() term.clearLine()
drawTextCentered("tutel host controller") drawTextCentered("tutel host controller")
end end