1
0
mirror of https://github.com/LDDestroier/CC/ synced 2025-10-28 05:57:40 +00:00

Fixed alwaysRender for write and blit

This commit is contained in:
LDDestroier
2019-12-14 00:00:31 +00:00
committed by GitHub
parent 8bb6075655
commit 7aa402b33e

View File

@@ -238,7 +238,7 @@ windont.newWindow = function( x, y, width, height, misc )
end
if meta.alwaysRender then
--local limit = math.max(0, meta.width - meta.cursorX + 1)
bT.setCursorPos(meta.x, meta.y)
bT.setCursorPos(meta.x, meta.y + meta.cursorY - 1)
bT.blit(
table.unpack(meta.buffer[1][meta.cursorY]),
table.unpack(meta.buffer[2][meta.cursorY]),
@@ -260,7 +260,7 @@ windont.newWindow = function( x, y, width, height, misc )
end
if meta.alwaysRender then
--local limit = math.max(0, meta.width - meta.cursorX + 1)
bT.setCursorPos(meta.x, meta.y)
bT.setCursorPos(meta.x, meta.y + meta.cursorY - 1)
bT.blit(
table.unpack(meta.buffer[1][meta.cursorY]),
table.unpack(meta.buffer[2][meta.cursorY]),