Browse Source

Revert "tty: add keypress event for backwards-compat"

In this case, backwards compatibility is not worth the API
inconsistency.  We can just document the change.

This reverts commit b521ff3b4f.
v0.9.1-release
isaacs 13 years ago
parent
commit
2726c22f0b
  1. 2
      lib/tty.js

2
lib/tty.js

@ -49,8 +49,6 @@ function ReadStream(fd) {
this.readable = true;
this.writable = false;
this.isRaw = false;
// backwards-compat
require('readline').emitKeypressEvents(this);
}
inherits(ReadStream, net.Socket);

Loading…
Cancel
Save