Merge pull request #2134 from Tyriar/fix_underline
Draw underline over char glyph
This commit is contained in:
@@ -205,6 +205,7 @@ export class TextRenderLayer extends BaseRenderLayer {
|
|||||||
if (cell.isInvisible()) {
|
if (cell.isInvisible()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
this.drawChars(terminal, cell, x, y);
|
||||||
if (cell.isUnderline()) {
|
if (cell.isUnderline()) {
|
||||||
this._ctx.save();
|
this._ctx.save();
|
||||||
|
|
||||||
@@ -233,7 +234,6 @@ export class TextRenderLayer extends BaseRenderLayer {
|
|||||||
this.fillBottomLineAtCells(x, y, cell.getWidth());
|
this.fillBottomLineAtCells(x, y, cell.getWidth());
|
||||||
this._ctx.restore();
|
this._ctx.restore();
|
||||||
}
|
}
|
||||||
this.drawChars(terminal, cell, x, y);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user