fix: sort loop

This commit is contained in:
2025-05-08 01:17:54 -03:00
parent aaa63e5293
commit 42f8d24b76
+2 -2
View File
@@ -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)