diff --git a/exec/dorkit/attribute.js b/exec/dorkit/attribute.js index 1ad0be048245cba7bb8a9a5255fa28e0d41b4901..a4c9a272ca341338eb8465ad92d0ae5fa845a0b4 100644 --- a/exec/dorkit/attribute.js +++ b/exec/dorkit/attribute.js @@ -63,10 +63,7 @@ Attribute.prototype = { return str; // Unchanged str = "\x1b["; - if (curatr === undefined) { - curatr = new Attribute(7); - str += '0;'; - } + if(curatr === undefined || (!(this.bright) && curatr.bright) || (!(this.blink) && curatr.blink) || atr==LIGHTGRAY) { str += "0;";