properly handle ctrl+c to cancel prompt
0.5.7