This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-01-19
Channels
- # adventofcode (7)
- # aws (6)
- # babashka (7)
- # beginners (200)
- # calva (49)
- # chlorine-clover (3)
- # cider (24)
- # clj-kondo (115)
- # cljs-dev (5)
- # cljsrn (16)
- # clojure (44)
- # clojure-australia (9)
- # clojure-czech (1)
- # clojure-dev (1)
- # clojure-europe (63)
- # clojure-france (6)
- # clojure-losangeles (1)
- # clojure-nl (2)
- # clojure-spec (27)
- # clojure-uk (77)
- # clojurescript (45)
- # clojurewerkz (3)
- # conjure (5)
- # cryogen (1)
- # cursive (2)
- # datahike (6)
- # datascript (3)
- # datomic (18)
- # fulcro (5)
- # graalvm (55)
- # jobs (3)
- # luminus (4)
- # malli (1)
- # pathom (1)
- # reagent (16)
- # shadow-cljs (67)
- # spacemacs (18)
- # sql (57)
- # testing (6)
- # tools-deps (9)
How to prevent Ctrl-C from quitting clj
?
I'm too used to repl-y's meaning of Ctrl-C (which interrupts eval OR discards current unsubmitted input but never quits the repl)
I think that's the default behavior for a Java process (default signal handler)
so you actually would need to install a new signal handler
there is actually a thing in clojure.repl I think that does that
clojure.repl/set-break-handler!
the signal handler stuff is a little weird in that it's a very old sun.misc interface. Java made a big push to eradicate all of those a while back but at the time they had no replacement way to do this. afaik, they still don't.