Allowing ctrl-c to quit

I believe some users(including me obviously) are more accustomed to using ctrl-c to quit the command line. The fix is just a simple one line patch.