bhauman / rebel-readline

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

Ctrl-D doesn't exit when a window is open #141

Closed bkovitz closed 6 years ago

bkovitz commented 6 years ago

Starting the REPL with this shell command on OSX:

lein trampoline run -m rebel-readline.main

if I start a window with Seesaw, the REPL doesn't exit when I hit Ctrl-D. I have to hit Ctrl-C afterward. In the regular Leiningen REPL, Ctrl-D closes the window as well as exits.

bhauman commented 6 years ago

So we need to remember that Rebel Readline is a readline library, and that the intention is to build a nice REPL with it in the future. Also when you use nREPL as you are with leiningen repl when you close a process its a completely different matter than when you are dealing with an in process repl like clojure.main or rebel-readline.main and the behavior you are describing is expected in this case.

bkovitz commented 6 years ago

Thank you for the patient explanation. Yep, it sounds like this issue can wait a while.