This commit is contained in:
Igor Timofeev
2017-01-15 00:39:18 +03:00
parent a48c1e89e2
commit c1c7ea1ba0
4 changed files with 8 additions and 4 deletions

View File

@@ -758,7 +758,7 @@ local function createWindow()
end
elseif eventData[1] == "clipboard" then
local lines = {}
for line in data:gmatch("(.+)\n") do
for line in eventData[3]:gmatch("(.+)\n") do
table.insert(lines, removeTabs(line))
end
paste({eventData[3]})