change \r\n to \n when pasting in terminal

pull/117/merge
nightwing 2015-06-25 14:13:53 +04:00
rodzic a65656baee
commit 058508d97a
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -206,7 +206,7 @@ define(function(require, exports, module) {
}]); }]);
ace.onPaste = function(text) { ace.onPaste = function(text) {
this.send(text); this.send(text.replace(/\r\n/g, "\n"));
}; };
ace.setKeyboardHandler(this); ace.setKeyboardHandler(this);