Add support for dimmed characters (faint) (#1043)

* Add support for dimmed character style
This commit is contained in:
Thomas Zilz
2017-10-11 20:24:26 +02:00
committed by GitHub
parent 5e639c75f7
commit b6c886837f
4 changed files with 32 additions and 16 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ export class TextRenderLayer extends BaseRenderLayer {
this.fillBottomLineAtCells(x, y);
}
this.drawChar(terminal, char, code, width, x, y, fg, bg, !!(flags & FLAGS.BOLD));
this.drawChar(terminal, char, code, width, x, y, fg, bg, !!(flags & FLAGS.BOLD), !!(flags & FLAGS.DIM));
this._ctx.restore();
}