fix: wrong cursor position
This commit is contained in:
@@ -236,7 +236,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 - drawnLines)
|
term.setCursorPos(1, endY - drawnLines)
|
||||||
|
|
||||||
local prevColourBg = term.getBackgroundColour()
|
local prevColourBg = term.getBackgroundColour()
|
||||||
local prevColourFg = term.getTextColour()
|
local prevColourFg = term.getTextColour()
|
||||||
|
|||||||
Reference in New Issue
Block a user