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
f439f34567
commit
f2fcd689bc
@ -2651,11 +2651,11 @@ function getStyles(num, gb, fullwidth){
|
|||||||
}
|
}
|
||||||
|
|
||||||
function styles(node){
|
function styles(node){
|
||||||
|
var styles = {};
|
||||||
var attr = node.attr;
|
var attr = node.attr;
|
||||||
var attributes = node.getAttributes();
|
var attributes = node.getAttributes();
|
||||||
var foreground = attributes.foreground;
|
var foreground = attributes.foreground;
|
||||||
var background = attributes.background;
|
var background = attributes.background;
|
||||||
var styles = { attr: attr, char: node.c };
|
|
||||||
|
|
||||||
[
|
[
|
||||||
'bold', 'italic', 'underline',
|
'bold', 'italic', 'underline',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user