mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-22 15:26:37 +00:00
assets/js/matrix.js:Matrix.prototype.mirc(): don't assume default foreground colour (via spoke.)
This commit is contained in:
parent
fd71785b3b
commit
b4e2286ecc
@ -244,7 +244,7 @@ Matrix.prototype.mirc = function (opts) {
|
|||||||
var lines = this.aa.map(function(row, y){
|
var lines = this.aa.map(function(row, y){
|
||||||
var last, line = ""
|
var last, line = ""
|
||||||
row.forEach(function(lex, x) {
|
row.forEach(function(lex, x) {
|
||||||
var bg_ = -1, fg_ = 15
|
var bg_ = -1, fg_ = -1
|
||||||
if (lex.eqColor(last)) {
|
if (lex.eqColor(last)) {
|
||||||
line += lex.sanitize()
|
line += lex.sanitize()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user