From e4302562ff45c7fe9d7296a30b774761d1f3d785 Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Thu, 4 Jun 2015 12:10:32 -0300 Subject: [PATCH] Change new line from CR LF to LF when copying console text --- modules/game_console/console.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/game_console/console.lua b/modules/game_console/console.lua index c7dfbd8e..c5afccd0 100644 --- a/modules/game_console/console.lua +++ b/modules/game_console/console.lua @@ -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)