fix: wrong variable usage
This commit is contained in:
@@ -245,7 +245,7 @@ function updateScreen()
|
||||
local entry = log.buffer[i]
|
||||
local format = logTypes[entry.type]
|
||||
|
||||
term.setCursorPos(0, endY - i)
|
||||
term.setCursorPos(0, endY - drawnLines)
|
||||
|
||||
local prevColourBg = term.getBackgroundColour()
|
||||
local prevColourFg = term.getTextColour()
|
||||
|
||||
Reference in New Issue
Block a user