fix: make bg color black before clearing screen
This commit is contained in:
@@ -192,6 +192,7 @@ function updateScreen()
|
||||
term.write(text)
|
||||
end
|
||||
|
||||
term.setBackgroundColor(colors.black)
|
||||
term.clear()
|
||||
term.setCursorPos(1, 1)
|
||||
|
||||
@@ -200,3 +201,7 @@ function updateScreen()
|
||||
term.clearLine()
|
||||
drawTextCentered("tutel host controller")
|
||||
end
|
||||
|
||||
while true do
|
||||
updateScreen()
|
||||
end
|
||||
Reference in New Issue
Block a user