diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-05-06 01:57:11 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-05-06 01:57:11 -0400 |
| commit | f650127c109fb65a589388cefb51eb990b151612 (patch) | |
| tree | 026bbb4921cd103b4eec3636393f537c6e903299 /js/lex.js | |
| parent | 05f454468e71d61ae4f0674223066efa118955b0 (diff) | |
experimental palette
Diffstat (limited to 'js/lex.js')
| -rw-r--r-- | js/lex.js | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -78,10 +78,11 @@ Lex.prototype.erase = function (){ this.opacity = 1 this.build() } -Lex.prototype.fill = function(fg, bg){ - this.fg = fg - this.bg = bg - this.opacity = 1 +Lex.prototype.fill = function(lex){ + this.fg = lex.fg + this.bg = lex.bg + this.char = lex.char + this.opacity = lex.opacity this.build() } Lex.prototype.eq = function(lex){ |
