diff options
| author | Julie Lala <jules@okfoc.us> | 2015-05-22 18:48:49 +0200 |
|---|---|---|
| committer | Julie Lala <jules@okfoc.us> | 2015-05-22 18:48:49 +0200 |
| commit | c2d83e9195d6ae00836226d039a594d7e917908c (patch) | |
| tree | dca01f9de1e372f2806d776863f2b448999fb888 /js/lex.js | |
| parent | 6037078f595ec80a25dcef213383745b3a0bbd50 (diff) | |
unicode functions and ascii brushes
Diffstat (limited to 'js/lex.js')
| -rw-r--r-- | js/lex.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -17,8 +17,8 @@ Lex.prototype.build = function(){ this.span.innerHTML = this.html() } Lex.prototype.css = function(){ - if (this.opacity == 0) return "transparent f" + letters[mod(this.fg,16)] - return "f" + letters[mod(this.fg,16)] + "b" + letters[mod(this.bg,16)] + if (this.opacity == 0) return "transparent f" + color_alphabet[mod(this.fg,16)] + return "f" + color_alphabet[mod(this.fg,16)] + "b" + color_alphabet[mod(this.bg,16)] } Lex.prototype.html = function(){ return this.char == " " ? " " : this.char || " " |
