fix: variable name
This commit is contained in:
@@ -282,6 +282,8 @@ function drawLogs(x0, y0, x1, y1)
|
||||
for lineIdx=#wrappedMessage,1, -1 do
|
||||
if drawnLines > h then break end
|
||||
|
||||
local line = wrappedMessage[lineIdx]
|
||||
|
||||
term.setCursorPos(1, y1 - drawnLines)
|
||||
|
||||
if lineIdx == 1 then
|
||||
@@ -295,7 +297,7 @@ function drawLogs(x0, y0, x1, y1)
|
||||
|
||||
term.setBackgroundColor(messageBG)
|
||||
term.setTextColor(messageFG)
|
||||
term.write(wrappedMessage[lineIdx])
|
||||
term.write(line)
|
||||
|
||||
local remaining = w - (prefixLength + #line)
|
||||
if remaining > 0 then
|
||||
|
||||
Reference in New Issue
Block a user