We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55c45cf commit 5d20639Copy full SHA for 5d20639
h2d/TextInput.hx
@@ -288,7 +288,7 @@ class TextInput extends Text {
288
if( !canEdit ) return;
289
var t = hxd.System.getClipboardText();
290
if( t != null && t.length > 0 )
291
- inputText(t);
+ inputText(t.split("\r\n").join("\n").split("\r").join("\n"));
292
case K.TAB if( insertTabs != null && canEdit ):
293
inputText(insertTabs);
294
default:
0 commit comments