mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-06 10:54:07 +08:00
update files
This commit is contained in:
parent
b3176ef2e9
commit
2417733cc0
@ -162,7 +162,6 @@ module.exports = Vue.component('app-main', {
|
||||
}, false);
|
||||
|
||||
ipc.on('emulator', function (event, type, project, data){
|
||||
|
||||
worker.postMessage({ action: 'write', name: project.name, data: data + '' });
|
||||
|
||||
// event.sender.send('emulator', project, 'stop');
|
||||
@ -177,6 +176,8 @@ module.exports = Vue.component('app-main', {
|
||||
}
|
||||
};
|
||||
|
||||
window.worker = worker;
|
||||
|
||||
openXTerm(this.project.name);
|
||||
}
|
||||
});
|
@ -20,7 +20,7 @@ onmessage = function (event){
|
||||
|
||||
switch (message.action) {
|
||||
case 'open':
|
||||
RUNTIMECACHE[message.name] = RUNTIMECACHE[message.name] || new AnsiTerminal(120, 60, 60);
|
||||
RUNTIMECACHE[message.name] = RUNTIMECACHE[message.name] || new AnsiTerminal(120, 60, 0);
|
||||
send(message.name, RUNTIMECACHE[message.name]);
|
||||
break;
|
||||
case 'close':
|
||||
|
Loading…
x
Reference in New Issue
Block a user