koji-kojiro / cl-repl

A full-featured repl implementation designed to work with Roswell
GNU General Public License v3.0
153 stars 22 forks source link

Catch a C-c #21

Closed vindarel closed 6 years ago

vindarel commented 6 years ago

This catches a C-c signal and asks confirmation to quit.

(As it is already the case (and not quite right), if we are in the DEBUG prompt, we are also asked if we want to quit, and we're taken back to the CL-USER prompt.)