@liaizon This inspired me to try all possible keys, and I discovered that Ctrl-C breaks to a working prompt.