[CLJS-167] Allow exiting CLJS repl with EOF/ctrl-D as well as :cljs/quit Created: 24/Mar/12 Updated: 08/Oct/12
The CLJS repl is not a perfectly well-behaved command-line tool, in that it does not respect the convention of quitting by sending an EOF character with ctrl-D. This must be causing a small amount of irritation to everyone who uses the repl and is used to the customary amenities of any command-line tool; we could ease a little bit of frustration by supporting EOF.
I've attached a patch to improve this behavior, without affecting anything else.
|Comment by Frank Siebenlist [ 08/Oct/12 11:20 AM ]|
I like the idea, but I normally start the cljs-repl from a clj-repl with
user=> (run-repl-listen 9000 ".lein-cljsbuild-repl")
and then the proposed solution seems to exit both the cljs-repl and the clj-repl as well with a single ctrl-D, which increases the irritation with a small amount...
Sorry, I'm not well versed enough in the IO intricacies to provide an alternative.