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
f6108abd5f
commit
c40cb4e712
@ -701,9 +701,7 @@ TChar.prototype.setAttributes = function (attributes){
|
||||
var attr = this.attr;
|
||||
|
||||
['bold', 'italic', 'underline', 'blink', 'inverse', 'conceal'].map(function (key, i){
|
||||
if (attributes[key] !== undefined) {
|
||||
attr = (attributes[key]) ? attr | (2 << (15 + i)) : attr & ~(2 << (15 + i));
|
||||
}
|
||||
attr = (attributes[key]) ? attr | (2 << (15 + i)) : attr & ~(2 << (15 + i));
|
||||
});
|
||||
|
||||
if (attributes['foreground']) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user