kopia lustrzana https://github.com/c9/core
Added --wait and added to the terminal
rodzic
290a9bf71d
commit
69888da842
|
@ -98,9 +98,9 @@ module.exports = function (vfs, options, register) {
|
|||
|
||||
createListenServer(api);
|
||||
|
||||
stream.on("data", function(data){
|
||||
stream.write = function(data){
|
||||
if (client) client.write(data);
|
||||
});
|
||||
};
|
||||
},
|
||||
|
||||
disconnect: function(){
|
||||
|
|
|
@ -157,6 +157,9 @@ module.exports = function(c9, proc, installPath, shell) {
|
|||
options.output = false;
|
||||
options.terminal = true;
|
||||
options.detachOthers = !session.hasConnected;
|
||||
options.env = {
|
||||
"EDITOR": "`which c9` open --wait"
|
||||
};
|
||||
}
|
||||
|
||||
// Connect to backend and start tmux session
|
||||
|
|
Ładowanie…
Reference in New Issue