update files

This commit is contained in:
nuintun 2015-12-01 16:04:14 +08:00
parent f6108abd5f
commit c40cb4e712

View File

@ -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']) {