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
1 changed files with 3 additions and 3 deletions

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