repl: To exit, press ^C again or type .exit.
authorHemanth.HM <hemanth.hm@gmail.com>
Sat, 7 Nov 2015 08:18:40 +0000 (13:48 +0530)
committerJames M Snell <jasnell@gmail.com>
Wed, 23 Dec 2015 16:38:33 +0000 (08:38 -0800)
commit4d91c50bbd8abe56a95a3466800acdc7e7cff1db
treef4def5c86f908a46e346ad48969421aa5f3876a4
parent749f67585386c4341858013592da50a1ac2568c4
repl: To exit, press ^C again or type .exit.

When the user hits `^C` in the REPL show more info about `.exit`.

The idea was to give more info to the user when they hit ^C.
Current version just displays `(^C again to quit)` and most
of the users are not aware of the `.exit` command that would
Exit the repl.

PR-URL: https://github.com/nodejs/node/pull/3368
Reviewed-By: James M Snell <jasnell@gmail.com>
lib/repl.js