always enabled terminfo. prop rename.
This commit is contained in:
parent
ccf3794be2
commit
342ed23b66
|
@ -31,6 +31,10 @@ function Program(options) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (options.tput !== false) {
|
||||||
|
options.tput = true;
|
||||||
|
}
|
||||||
|
|
||||||
this.options = options;
|
this.options = options;
|
||||||
this.input = options.input || process.stdin;
|
this.input = options.input || process.stdin;
|
||||||
this.output = options.output || process.stdout;
|
this.output = options.output || process.stdout;
|
||||||
|
@ -530,7 +534,7 @@ Program.prototype._bindResponse = function(s) {
|
||||||
parts.forEach(function(attr) {
|
parts.forEach(function(attr) {
|
||||||
switch (attr) {
|
switch (attr) {
|
||||||
case 1:
|
case 1:
|
||||||
out.132cols = true;
|
out.cols132 = true;
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
out.printer = true;
|
out.printer = true;
|
||||||
|
|
Loading…
Reference in New Issue