mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-07 03:14:07 +08:00
update files
This commit is contained in:
parent
b5d48fda37
commit
528301c25b
@ -1048,9 +1048,9 @@ AnsiTerminal.prototype.toString = function (type){
|
|||||||
styleBuffer = stylesBuffer[i][j] || styles(node);
|
styleBuffer = stylesBuffer[i][j] || styles(node);
|
||||||
|
|
||||||
if (styleBuffer.value !== node.value || styleBuffer.attr !== node.attr) {
|
if (styleBuffer.value !== node.value || styleBuffer.attr !== node.attr) {
|
||||||
stylesBuffer[i][j] = styles(node);
|
styleBuffer = styles(node);
|
||||||
stylesBuffer[i][j].attr = node.attr;
|
styleBuffer.attr = node.attr;
|
||||||
stylesBuffer[i][j].value = node.value;
|
styleBuffer.value = node.value;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (j === 0) {
|
if (j === 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user