From 4dd8460f6a45d7956455ef9b39b33126c1b40e15 Mon Sep 17 00:00:00 2001 From: Julie Lala Date: Wed, 3 Dec 2014 22:02:34 -0500 Subject: fix arrows and printing backslashes --- js/lex.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'js/lex.js') diff --git a/js/lex.js b/js/lex.js index e6f1f67..1dc07a0 100644 --- a/js/lex.js +++ b/js/lex.js @@ -34,6 +34,9 @@ Lex.prototype.sanitize = function(){ var fgOnly = false Lex.prototype.mirc = function(){ var char = this.char || " " + if (parseInt(char)) { + char = "\x02\x02" + char + } if (fgOnly) { return "\x03" + (this.fg&15) + char } -- cgit v1.2.3-70-g09d2