diff --git a/lib/program.js b/lib/program.js index 68be40f..4933b21 100644 --- a/lib/program.js +++ b/lib/program.js @@ -31,6 +31,10 @@ function Program(options) { }; } + if (options.tput !== false) { + options.tput = true; + } + this.options = options; this.input = options.input || process.stdin; this.output = options.output || process.stdout; @@ -530,7 +534,7 @@ Program.prototype._bindResponse = function(s) { parts.forEach(function(attr) { switch (attr) { case 1: - out.132cols = true; + out.cols132 = true; break; case 2: out.printer = true;