drop tty check for now. see yaronn/blessed-contrib#45.
This commit is contained in:
parent
acd33d7bbe
commit
1810f2f914
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue