From 1810f2f9149af05ce1781b16ec1c41e735696dfb Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sun, 19 Apr 2015 06:01:09 -0700 Subject: [PATCH] drop tty check for now. see yaronn/blessed-contrib#45. --- lib/program.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/program.js b/lib/program.js index e3956b9..b23041e 100644 --- a/lib/program.js +++ b/lib/program.js @@ -260,8 +260,8 @@ Program.prototype.listen = function() { var keys = require('./keys') , self = this; - if (!this.input.isTTY || !this.output.isTTY) { - throw new Error('Not a terminal.'); + if (!this.output.isTTY) { + // TODO: Add an ncurses-like warning. } // unshiftEvent(process, 'exit', function() {