Skip to content

Commit

Permalink
Clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
rubbingalcoholic committed Mar 25, 2016
1 parent 4b070de commit de836d8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,12 @@ By default, prompt prompt binds a process-killing event handler to the SIGINT ev
// Disable prompt's built-in SIGINT handling:
//
prompt.start({noHandleSIGINT: true});

process.on('SIGINT', function() {
console.log("This will execute when you hit CTRL+C");
process.exit();
});
```


## Installation
Expand Down

0 comments on commit de836d8

Please sign in to comment.