fix paste in terminal

pull/284/head
nightwing 2016-04-04 03:28:51 +04:00
rodzic 9c829d23d7
commit 00174eb668
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -221,7 +221,7 @@ define(function(require, exports, module) {
}]); }]);
ace.onPaste = function(text) { ace.onPaste = function(text) {
this.send(text.replace(/\r\n/g, "\n")); this.send(text.replace(/\r\n?|\n/g, this.session.term.convertEol ? "\n" : "\r"));
}; };
ace.setKeyboardHandler(this); ace.setKeyboardHandler(this);