mirror of
https://github.com/nodejs/node.git
synced 2025-12-28 07:50:41 +00:00
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.
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…
Reference in New Issue
Block a user