Compare commits

...

2 Commits

Author SHA1 Message Date
neru 053838f227 fix: change spelling of color 2025-05-06 18:48:24 -03:00
neru 8b8d0cdfa1 fix: make name more consistent 2025-05-06 18:48:13 -03:00
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ local res, err = http.get(SCRIPT_URL)
if res then
local script = res.readAll()
local fn, err = load(script, "loader", "t", _ENV)
local fn, err = load(script, "loaded-script", "t", _ENV)
if not err then
xpcall(fn, logError)
+3 -3
View File
@@ -187,7 +187,7 @@ function updateScreen()
local function drawTextCentered(text)
local x = (w / 2) - (text:len() / 2)
local curX, curY = term.getCursorPos()
local _, curY = term.getCursorPos()
term.setCursorPos(x, curY)
term.write(text)
end
@@ -195,8 +195,8 @@ function updateScreen()
term.clear()
term.setCursorPos(1, 1)
term.setBackgroundColour(colours.lightGray)
term.setTextColour(colours.black)
term.setBackgroundColor(colors.lightGray)
term.setTextColour(colors.black)
term.clearLine()
drawTextCentered("tutel host controller")
end