kopia lustrzana https://github.com/c9/core
fix paste in terminal
rodzic
9c829d23d7
commit
00174eb668
|
@ -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);
|
||||||
|
|
Ładowanie…
Reference in New Issue