This commit is contained in:
parent
3602d8a987
commit
f87393933c
|
@ -402,7 +402,13 @@ var wide = {
|
|||
|
||||
switch (data.cmd) {
|
||||
case 'run': // 正在运行
|
||||
bottomGroup.fillOutput($('.bottom-window-group .output > div').html() + '<pre>' + data.output + '</pre>');
|
||||
|
||||
if(!wide.curProcessId){
|
||||
bottomGroup.fillOutput($('.bottom-window-group .output > div').html() + '<pre>' + data.output + '</pre>');
|
||||
}else{
|
||||
bottomGroup.fillOutput($('.bottom-window-group .output > div').html().replace(/<\/pre>$/g, data.output + '</pre>');
|
||||
}
|
||||
|
||||
wide.curProcessId = data.pid;
|
||||
|
||||
break;
|
||||
|
@ -706,4 +712,4 @@ $(document).ready(function () {
|
|||
editors.init();
|
||||
windows.init();
|
||||
bottomGroup.init();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue