Change new line from CR LF to LF when copying console text

master
Eduardo Bart 9 years ago
parent 471b8362e2
commit e4302562ff

@ -601,7 +601,7 @@ function addTabText(text, speaktype, tab, creatureName)
local label = self:getParent():getChildByIndex(selectionChild)
table.insert(text, label:getSelection())
end
consoleBuffer.selectionText = table.concat(text, '\r\n')
consoleBuffer.selectionText = table.concat(text, '\n')
return true
end
label.onDragMove = function(self, mousePos, mouseMoved)

Loading…
Cancel
Save