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 b521ff3b4f8e79c5e28a1f4915d4203d8bcb0ab7.
This commit is contained in:
parent
c26a0b5aab
commit
2726c22f0b
@ -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…
x
Reference in New Issue
Block a user