Only override AttributeData.isUnderline when urlId is set
This commit is contained in:
@@ -36,7 +36,7 @@ export class AttributeData implements IAttributeData {
|
||||
public isInverse(): number { return this.fg & FgFlags.INVERSE; }
|
||||
public isBold(): number { return this.fg & FgFlags.BOLD; }
|
||||
public isUnderline(): number {
|
||||
if (this.hasExtendedAttrs() && this.extended.underlineStyle !== UnderlineStyle.NONE) {
|
||||
if (this.hasExtendedAttrs() && this.extended.urlId) {
|
||||
return 1;
|
||||
}
|
||||
return this.fg & FgFlags.UNDERLINE;
|
||||
|
||||
Reference in New Issue
Block a user