fix: sort loop
This commit is contained in:
@@ -266,10 +266,10 @@ function drawLogs(x0, y0, x1, y1)
|
||||
end
|
||||
|
||||
for lineIdx = #wrappedMessage, 1, -1 do
|
||||
local line = wrappedMessage[i]
|
||||
|
||||
if drawnLines > h then break end
|
||||
|
||||
local line = wrappedMessage[i]
|
||||
|
||||
local currentY = y1 - drawnLines
|
||||
term.setCursorPos(1, currentY)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user