1
0
mirror of https://github.com/LDDestroier/CC/ synced 2024-11-17 15:24:52 +00:00

Update lddwindow.lua

This commit is contained in:
LDDestroier 2019-05-30 00:36:49 -04:00 committed by GitHub
parent 512a67240f
commit d12922cb0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,9 +190,9 @@ lddwindow.newWindow = function(nativeTerm, x, y, width, height, visible)
for i = 1, #char do
cx = -1 + i + output.info.cursorX
if cx >= 1 and cx <= output.info.width then
output.info.buffer[1][cy][cx] = stringSub(char, i, i)
output.info.buffer[2][cy][cx] = stringSub(text, i, i)
output.info.buffer[3][cy][cx] = stringSub(back, i, i)
output.info.buffer[1][output.info.cursorY][cx] = stringSub(char, i, i)
output.info.buffer[2][output.info.cursorY][cx] = stringSub(text, i, i)
output.info.buffer[3][output.info.cursorY][cx] = stringSub(back, i, i)
end
end
end