setPrompt bug and new line on Ctrl+C