mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-09 04:34:04 +08:00
update files
This commit is contained in:
parent
b04366ea3d
commit
1eb2d29e43
@ -84,7 +84,6 @@ module.exports = Vue.component('app-main', {
|
|||||||
var runtime = window.AppRuntime[this.project.name];
|
var runtime = window.AppRuntime[this.project.name];
|
||||||
|
|
||||||
var test = [
|
var test = [
|
||||||
'',
|
|
||||||
'\u001b[92m\'use strict\'\u001b[39m\u001b[90m;\u001b[39m',
|
'\u001b[92m\'use strict\'\u001b[39m\u001b[90m;\u001b[39m',
|
||||||
'\u001b[90m/*jshint browser:true */\u001b[39m',
|
'\u001b[90m/*jshint browser:true */\u001b[39m',
|
||||||
'',
|
'',
|
||||||
@ -112,7 +111,8 @@ module.exports = Vue.component('app-main', {
|
|||||||
'',
|
'',
|
||||||
' \u001b[31mreturn\u001b[39m \u001b[37mhypernal\u001b[39m\u001b[90m;\u001b[39m',
|
' \u001b[31mreturn\u001b[39m \u001b[37mhypernal\u001b[39m\u001b[90m;\u001b[39m',
|
||||||
'\u001b[33m}\u001b[39m\u001b[90m;\u001b[39m',
|
'\u001b[33m}\u001b[39m\u001b[90m;\u001b[39m',
|
||||||
new Date().toISOString()
|
new Date().toISOString(),
|
||||||
|
''
|
||||||
].join('\r\n');
|
].join('\r\n');
|
||||||
|
|
||||||
if (!runtime) {
|
if (!runtime) {
|
||||||
@ -124,8 +124,6 @@ module.exports = Vue.component('app-main', {
|
|||||||
|
|
||||||
xterm.open();
|
xterm.open();
|
||||||
xtermNode.appendChild(xterm.element);
|
xtermNode.appendChild(xterm.element);
|
||||||
xterm.focus();
|
|
||||||
xterm.startBlink();
|
|
||||||
|
|
||||||
xterm.write(test);
|
xterm.write(test);
|
||||||
scroll(xtermNode);
|
scroll(xtermNode);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user