Fixed copying empty lines...

This commit is contained in:
LDDestroier 2019-03-29 20:54:51 -04:00 committed by GitHub
parent fb7becd17b
commit 67e90b6237
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1015,7 +1015,7 @@ prompt = function(prebuffer, precy, maxY, _eldit)
sortSelections()
local id, selY
for y = 1, #eldit.buffer do
for x = 1, #eldit.buffer[y] do
for x = 1, #eldit.buffer[y] + 1 do
id = checkIfSelected(x, y)
if id then
selY = y - eldit.selections[id][1].y + 1