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
5cd2bc650c
commit
d0acaa789c
@ -1032,9 +1032,15 @@ AnsiTerminal.prototype.toString = function (type){
|
|||||||
var s = '';
|
var s = '';
|
||||||
|
|
||||||
if (type === 'html') {
|
if (type === 'html') {
|
||||||
|
var cell;
|
||||||
|
|
||||||
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) {
|
||||||
console.log(this.screen.buffer[i].cells[j]);
|
cell = this.screen.buffer[i].cells[j];
|
||||||
|
|
||||||
|
if (cell.c) {
|
||||||
|
console.log(cell.c, ': ', cell, ' - ', cell.getAttributes());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user