mirror of
https://github.com/nuintun/command-manager.git
synced 2025-08-18 12:29:36 +08:00
update files
This commit is contained in:
parent
8641a8d06c
commit
1774dba7ed
@ -424,6 +424,7 @@ header [class*=" icon-"] {
|
|||||||
background-color: #181818;
|
background-color: #181818;
|
||||||
border-left: 1px dashed #ccc;
|
border-left: 1px dashed #ccc;
|
||||||
font-family: Consolas, sans-serif;
|
font-family: Consolas, sans-serif;
|
||||||
|
overflow: auto;
|
||||||
}
|
}
|
||||||
.ui-control-bar .ui-button-orange {
|
.ui-control-bar .ui-button-orange {
|
||||||
margin: 0 10px 0 0;
|
margin: 0 10px 0 0;
|
||||||
|
@ -127,7 +127,10 @@ module.exports = Vue.component('app-main', {
|
|||||||
|
|
||||||
console.log(xterm);
|
console.log(xterm);
|
||||||
|
|
||||||
test.forEach(function (line){ xterm.writeln(line); });
|
test.forEach(function (line){
|
||||||
|
xterm.writeln(line);
|
||||||
|
xterm.cursorNextLine([0]);
|
||||||
|
});
|
||||||
|
|
||||||
window.AppRuntime[this.project.name] = {
|
window.AppRuntime[this.project.name] = {
|
||||||
name: name,
|
name: name,
|
||||||
@ -135,7 +138,10 @@ module.exports = Vue.component('app-main', {
|
|||||||
xterm: xterm
|
xterm: xterm
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
test.forEach(function (line){ runtime.xterm.writeln(line); });
|
test.forEach(function (line){
|
||||||
|
runtime.xterm.writeln(line);
|
||||||
|
runtime.xterm.cursorNextLine([0]);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
setting: function (){
|
setting: function (){
|
||||||
|
@ -6,7 +6,7 @@ module.exports = Terminal;
|
|||||||
|
|
||||||
function Terminal(opts){
|
function Terminal(opts){
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
|
|
||||||
if (!(this instanceof Terminal)) return new Terminal(opts);
|
if (!(this instanceof Terminal)) return new Terminal(opts);
|
||||||
|
|
||||||
this.cols = opts.cols || 500;
|
this.cols = opts.cols || 500;
|
||||||
@ -77,6 +77,7 @@ require('./lib/options')(Terminal);
|
|||||||
require('./lib/open')(Terminal);
|
require('./lib/open')(Terminal);
|
||||||
require('./lib/destroy')(Terminal);
|
require('./lib/destroy')(Terminal);
|
||||||
require('./lib/refresh')(Terminal);
|
require('./lib/refresh')(Terminal);
|
||||||
|
require('./lib/scrollDisp')(Terminal);
|
||||||
|
|
||||||
require('./lib/write')(Terminal);
|
require('./lib/write')(Terminal);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user