Skip to content
Browse files


  • Loading branch information...
1 parent 5130729 commit aa07ef5395ef426c77315a3f1aeb5fc7c4795640 @TooTallNate committed Jul 7, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1
@@ -4,7 +4,8 @@ keypress
Previous to Node `v0.8.x`, there was an undocumented `"keypress"` event that
-`process.stdin` would emit when it was a TTY.
+`process.stdin` would emit when it was a TTY. Some people discovered this hidden
+gem, and started using it in their own code.
Now in Node `v0.8.x`, this `"keypress"` event does not get emitted by default,
but rather only when it is being used in conjuction with the `readline` (or by
@@ -43,6 +44,7 @@ process.stdin.on('keypress', function (ch, key) {

0 comments on commit aa07ef5

Please sign in to comment.
Something went wrong with that request. Please try again.