support sudo without pty.js

pull/85/head
nightwing 2015-04-28 04:09:16 +04:00
rodzic 8ade8783ae
commit 24ae5acf0f
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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",

Wyświetl plik

@ -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;
}
};
});