Change new line from CR LF to LF when copying console text
This commit is contained in:
parent
471b8362e2
commit
e4302562ff
|
@ -601,7 +601,7 @@ function addTabText(text, speaktype, tab, creatureName)
|
||||||
local label = self:getParent():getChildByIndex(selectionChild)
|
local label = self:getParent():getChildByIndex(selectionChild)
|
||||||
table.insert(text, label:getSelection())
|
table.insert(text, label:getSelection())
|
||||||
end
|
end
|
||||||
consoleBuffer.selectionText = table.concat(text, '\r\n')
|
consoleBuffer.selectionText = table.concat(text, '\n')
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
label.onDragMove = function(self, mousePos, mouseMoved)
|
label.onDragMove = function(self, mousePos, mouseMoved)
|
||||||
|
|
Loading…
Reference in New Issue