4 ms·
Ctrl+C for Elixir's iex as well. When i first used it I had to Google, it was that special "how to exit vim" moment for me.
by ihateolives 4y ago
Ctrl+C for Elixir's iex as well. When i first used it I had to Google, it was that special "how to exit vim" moment for me.
- darrenf 4y agoPerl's re.pl exits on ^C too (as well as ^D). Ditto Clojure.
- square_usual 4y agoThe even more annoying thing is that it's Ctrl+C twice.
- weavie 4y agoClozure common lisp is Ctrl+D three times.
- klibertp 4y agoWell, at least there's a reason for this: Elixir REPL is actually a remote shell, and the first Ctrl+C is an escape sequence that drops you into local connection manager. You of course know this, but I thought I'll leave it here for people who don't :)
- square_usual 4y agoTIL, in fact. I had a vague understanding of it - I knew that the REPL was sort of "sshing" into the actual BEAM process, but your explanation cleared it up. Thanks!