fix escaped chars

This commit is contained in:
Christopher Jeffrey 2013-02-24 08:19:38 -06:00
parent f80fb93419
commit 5075fa6efb

View File

@ -490,14 +490,17 @@ Tput.prototype._compile = function(val) {
case 's': case 's':
ch = ' '; ch = ' ';
break; break;
case '^':
ch = '^';
break;
case '\\': case '\\':
ch = '\\\\'; ch = '\\\\';
break; break;
case ',': case ',':
ch = ','; ch = ',';
break; break;
case ';': case ':':
ch = ';'; ch = ':';
break; break;
case '0': case '0':
//ch = '\\0'; //ch = '\\0';