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.
pull/24503/head
isaacs 2012-03-30 17:36:58 -07:00
parent c26a0b5aab
commit 2726c22f0b
1 changed files with 0 additions and 2 deletions

View File

@ -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);