From 2726c22f0b84c08d7a4c3a2d9f63248675374089 Mon Sep 17 00:00:00 2001 From: isaacs Date: Fri, 30 Mar 2012 17:36:58 -0700 Subject: [PATCH] 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. --- lib/tty.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/tty.js b/lib/tty.js index dc1c654c737..8d90d0ecd00 100644 --- a/lib/tty.js +++ b/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);