mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-08 04:04:04 +08:00
update files
This commit is contained in:
parent
abaea8ed18
commit
24e964f437
@ -51,7 +51,7 @@ function Terminal(options){
|
||||
|
||||
this.colors = options.colors;
|
||||
this.bgColor = options.bgColor || Terminal.defaultColors.bgColor;
|
||||
this.fgColor = options.bgColor || Terminal.defaultColors.fgColor;
|
||||
this.fgColor = options.fgColor || Terminal.defaultColors.fgColor;
|
||||
|
||||
this.options = options;
|
||||
|
||||
|
@ -127,11 +127,11 @@ module.exports = function (Terminal){
|
||||
out += '<';
|
||||
break;
|
||||
case '>':
|
||||
out += '>';
|
||||
out += '>';
|
||||
break;
|
||||
default:
|
||||
if (ch <= ' ') {
|
||||
out += '>';
|
||||
out += ' ';
|
||||
} else {
|
||||
if (this.isWide(ch)) i++;
|
||||
|
||||
|
@ -13,8 +13,6 @@ module.exports = function (Terminal){
|
||||
this.lines = this.lines.slice(-(this.ybase + this.rows) + 1);
|
||||
}
|
||||
|
||||
console.log(this.ybase, this.scrollback);
|
||||
|
||||
this.ydisp = this.ybase;
|
||||
|
||||
// last line
|
||||
|
Loading…
x
Reference in New Issue
Block a user