mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 09:39:21 +02:00
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)
|
||||
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…
x
Reference in New Issue
Block a user