fix: wrong variable usage

This commit is contained in:
2025-05-06 20:13:19 -03:00
parent 3211f473a6
commit 53567dd5c9
+1 -1
View File
@@ -245,7 +245,7 @@ function updateScreen()
local entry = log.buffer[i] local entry = log.buffer[i]
local format = logTypes[entry.type] local format = logTypes[entry.type]
term.setCursorPos(0, endY - i) term.setCursorPos(0, endY - drawnLines)
local prevColourBg = term.getBackgroundColour() local prevColourBg = term.getBackgroundColour()
local prevColourFg = term.getTextColour() local prevColourFg = term.getTextColour()