mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-01-27 11:15:36 +00:00
minor
This commit is contained in:
parent
d04c335aa9
commit
a784ca6a2b
@ -423,7 +423,7 @@ Tput.prototype._compile = function(val) {
|
|||||||
if (ch.length < 2) ch = '0' + ch;
|
if (ch.length < 2) ch = '0' + ch;
|
||||||
ch = '\\x' + ch;
|
ch = '\\x' + ch;
|
||||||
} else {
|
} else {
|
||||||
ch = '';
|
ch = '^' + cap[1];
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -485,7 +485,7 @@ Tput.prototype._compile = function(val) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 3 octal digits -> character
|
// 3 octal digits -> character
|
||||||
if (read(/^\\(\d\d\d)/)) {
|
if (read(/^\\(\d{3})/)) {
|
||||||
print('\\' + ch);
|
print('\\' + ch);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user