Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

README++

  • Loading branch information...
commit 1c5d9133212258099a812cdd54f1993aa8efccf3 1 parent 3075dcc
Nathan Rajlich authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  README.md
2  README.md
Source Rendered
@@ -39,7 +39,7 @@ keypress(process.stdin);
39 39 // listen for the "keypress" event
40 40 process.stdin.on('keypress', function (ch, key) {
41 41 console.log('got "keypress"', key);
42   - if (key.ctrl && key.name == 'c') {
  42 + if (key && key.ctrl && key.name == 'c') {
43 43 process.stdin.pause();
44 44 }
45 45 });

0 comments on commit 1c5d913

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