mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-15 01:06:59 +08:00
update files
This commit is contained in:
parent
a2ae340e28
commit
f2b8358da5
@ -1053,10 +1053,6 @@ AnsiTerminal.prototype.toString = function (type){
|
||||
stylesBuffer[i][j].value = node.value;
|
||||
}
|
||||
|
||||
if (j === 0) {
|
||||
style = '';
|
||||
attrCache = node.attr;
|
||||
|
||||
if (styleBuffer.foreground) {
|
||||
style += 'color:' + styleBuffer.foreground + ';';
|
||||
}
|
||||
@ -1077,7 +1073,11 @@ AnsiTerminal.prototype.toString = function (type){
|
||||
style += 'text-decoration: underline;';
|
||||
}
|
||||
|
||||
if (j === 0) {
|
||||
s += '<span' + (style ? ' style="' + style + '"' : '') + '>';
|
||||
|
||||
style = '';
|
||||
attrCache = node.attr;
|
||||
} else if (j === cols - 1) {
|
||||
s += '</span>';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user