bhauman / rebel-readline

Terminal readline library for Clojure dialects
Eclipse Public License 1.0
680 stars 37 forks source link

Lightweight Ctrl-C interruption handling #199

Closed razum2um closed 1 year ago

razum2um commented 4 years ago

Right now if pressed Ctrl-C it exits REPL completely, and this makes a huge difference with what we used to see with lein repl and others.

This fixes it

user=> (Thread/sleep 10000)
Execution error (ThreadDeath) at java.lang.Thread/stop (Thread.java:942).
null