Catch control-c to text prompt