always enabled terminfo. prop rename.

This commit is contained in:
Christopher Jeffrey 2013-07-13 23:41:47 -05:00
parent ccf3794be2
commit 342ed23b66
1 changed files with 5 additions and 1 deletions

View File

@ -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;