mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-07 11:34:05 +08:00
update files
This commit is contained in:
parent
e92e47c72d
commit
549274d989
@ -1029,14 +1029,14 @@ AnsiTerminal.prototype.toString = function (type){
|
|||||||
var s = '';
|
var s = '';
|
||||||
|
|
||||||
if (type === 'html') {
|
if (type === 'html') {
|
||||||
var cell;
|
var node;
|
||||||
|
|
||||||
for (i = 0; i < this.screen.buffer.length; ++i) {
|
for (i = 0; i < this.screen.buffer.length; ++i) {
|
||||||
for (j = 0; j < this.screen.buffer[i].cells.length; ++j) {
|
for (j = 0; j < this.screen.buffer[i].cells.length; ++j) {
|
||||||
cell = this.screen.buffer[i].cells[j];
|
node = this.screen.buffer[i].cells[j];
|
||||||
|
|
||||||
if (cell.c) {
|
if (node.c) {
|
||||||
console.log(cell.c, ': ', styles(cell));
|
console.log(node.c, ': ', styles(node));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user