change _debug to _syslog

This commit is contained in:
kepler155c@gmail.com
2019-05-03 15:30:09 -04:00
parent 59552d4217
commit c44dc765da
6 changed files with 22 additions and 26 deletions

View File

@@ -100,9 +100,9 @@ function Terminal.window(parent, sx, sy, w, h, isVisible)
end
function win.setCursorPos(x, y)
cx, cy = x, y
cx, cy = math.floor(x), math.floor(y)
if isVisible then
parent.setCursorPos(x + canvas.x - 1, y + canvas.y - 1)
parent.setCursorPos(cx + canvas.x - 1, cy + canvas.y - 1)
end
end