From 5075fa6efb299dcb74d521589e7b7e7b6ed3347f Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sun, 24 Feb 2013 08:19:38 -0600 Subject: [PATCH] fix escaped chars --- lib/tput.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/tput.js b/lib/tput.js index 19e713f..b77d32a 100644 --- a/lib/tput.js +++ b/lib/tput.js @@ -490,14 +490,17 @@ Tput.prototype._compile = function(val) { case 's': ch = ' '; break; + case '^': + ch = '^'; + break; case '\\': ch = '\\\\'; break; case ',': ch = ','; break; - case ';': - ch = ';'; + case ':': + ch = ':'; break; case '0': //ch = '\\0';