This commit is contained in:
Christopher Jeffrey 2013-02-22 11:12:05 -06:00
parent d04c335aa9
commit a784ca6a2b

View File

@ -423,7 +423,7 @@ Tput.prototype._compile = function(val) {
if (ch.length < 2) ch = '0' + ch;
ch = '\\x' + ch;
} else {
ch = '';
ch = '^' + cap[1];
}
break;
}
@ -485,7 +485,7 @@ Tput.prototype._compile = function(val) {
}
// 3 octal digits -> character
if (read(/^\\(\d\d\d)/)) {
if (read(/^\\(\d{3})/)) {
print('\\' + ch);
continue;
}