From 9ab497b693d34e10b9db2d7603917d8d1296e350 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 22 Nov 2014 10:17:49 -0500 Subject: fix width/height --- js/lex.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'js/lex.js') diff --git a/js/lex.js b/js/lex.js index f235672..086fc90 100644 --- a/js/lex.js +++ b/js/lex.js @@ -21,6 +21,10 @@ Lex.prototype.css = function(){ Lex.prototype.html = function(){ return this.char == " " ? " " : this.char || " " } +Lex.prototype.read = function(){ + this.char = this.span.innerHTML + return this.char +} Lex.prototype.irc = function(){ var char = this.char == "%" ? '%%' : this.char || " " if (this.bg == 1 && this.fg == 0) { -- cgit v1.2.3-70-g09d2