mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
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