mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-22 23:36:36 +00:00
assets/js/matrix.js:Matrix.prototype.mirc(): don't assume default foreground colour (via spoke.)
This commit is contained in:
parent
76db3cacd5
commit
e9a90f5000
@ -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