kopia lustrzana https://github.com/c9/core
support sudo without pty.js
rodzic
8ade8783ae
commit
24ae5acf0f
|
@ -83,7 +83,7 @@
|
|||
"c9.ide.help.support": "#60e88f5680",
|
||||
"c9.ide.imgeditor": "#08bbc53578",
|
||||
"c9.ide.immediate": "#6845a93705",
|
||||
"c9.ide.installer": "#c0c85f897e",
|
||||
"c9.ide.installer": "#086206a67f",
|
||||
"c9.ide.mount": "#32e79866ee",
|
||||
"c9.ide.navigate": "#64156c7f4a",
|
||||
"c9.ide.newresource": "#f1f0624768",
|
||||
|
|
|
@ -4,7 +4,7 @@ define(function(require, exports, module) {
|
|||
module.exports = function(process){
|
||||
var pty = new EventEmitter();
|
||||
pty.write = function(data){
|
||||
process.stdin.write(data);
|
||||
process.stdin.write(data.replace(/\r/g, "\n"));
|
||||
};
|
||||
pty.resize = function(){};
|
||||
pty.destroy =
|
||||
|
@ -23,5 +23,5 @@ define(function(require, exports, module) {
|
|||
});
|
||||
|
||||
return pty;
|
||||
}
|
||||
};
|
||||
});
|
Ładowanie…
Reference in New Issue