drop tty check for now. see yaronn/blessed-contrib#45.

This commit is contained in:
Christopher Jeffrey 2015-04-19 06:01:09 -07:00
parent acd33d7bbe
commit 1810f2f914
1 changed files with 2 additions and 2 deletions

View File

@ -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() {