Compare commits

...

2 Commits

Author SHA1 Message Date
neru dd117a7ca2 fix: wrong cursor pos 2025-05-08 13:02:22 -03:00
neru cd2ff71b20 fix: wrong log start height 2025-05-08 13:02:02 -03:00
+2 -2
View File
@@ -351,7 +351,7 @@ function drawStatusBar(y)
end end
function drawCommandBar(w, y) function drawCommandBar(w, y)
term.setCursorPos(0, y) term.setCursorPos(1, y)
term.clearLine() term.clearLine()
term.setBackgroundColor(colors.white) term.setBackgroundColor(colors.white)
@@ -396,7 +396,7 @@ function updateScreen()
term.setBackgroundColor(colors.black) term.setBackgroundColor(colors.black)
term.setTextColour(colors.white) term.setTextColour(colors.white)
drawLogs(1, 2, w, h - 2) drawLogs(1, 2, w, h - 1)
drawStatusBar(2) drawStatusBar(2)
drawCommandBar(w, h) drawCommandBar(w, h)
end end