fix %r. remove comment.
This commit is contained in:
parent
629995a669
commit
76fa728a89
|
@ -880,7 +880,6 @@ Tput.prototype._compile = function(val) {
|
||||||
if (this.termcap) {
|
if (this.termcap) {
|
||||||
// %r Single parameter capability
|
// %r Single parameter capability
|
||||||
if (read(/^%r/)) {
|
if (read(/^%r/)) {
|
||||||
expr('()');
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
// %+ Add value of next character to this parameter and do binary output
|
// %+ Add value of next character to this parameter and do binary output
|
||||||
|
@ -951,8 +950,6 @@ Tput.prototype._parsePadding = function(code, print, done) {
|
||||||
var parts = code.split(/(?=\$<\d+[*\/]{0,2}>)/)
|
var parts = code.split(/(?=\$<\d+[*\/]{0,2}>)/)
|
||||||
, i = 0;
|
, i = 0;
|
||||||
|
|
||||||
// if (!parts[0]) parts.shift();
|
|
||||||
|
|
||||||
(function next() {
|
(function next() {
|
||||||
if (i === parts.length) {
|
if (i === parts.length) {
|
||||||
return done();
|
return done();
|
||||||
|
|
Loading…
Reference in New Issue