From e9a90f5000d02969a511b2728e520ba510d09b1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Sat, 13 Jul 2019 23:53:24 +0200 Subject: [PATCH] assets/js/matrix.js:Matrix.prototype.mirc(): don't assume default foreground colour (via spoke.) --- assets/js/matrix.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/matrix.js b/assets/js/matrix.js index 2dfb85c..6d2fd2c 100644 --- a/assets/js/matrix.js +++ b/assets/js/matrix.js @@ -244,7 +244,7 @@ Matrix.prototype.mirc = function (opts) { var lines = this.aa.map(function(row, y){ var last, line = "" row.forEach(function(lex, x) { - var bg_ = -1, fg_ = 15 + var bg_ = -1, fg_ = -1 if (lex.eqColor(last)) { line += lex.sanitize() }