I know several ways to quit iex
but I'd love to use ctrl-D like in other REPLs (e.g., node
, irb
.)
How can I customize iex
to do this?
I know several ways to quit iex
but I'd love to use ctrl-D like in other REPLs (e.g., node
, irb
.)
How can I customize iex
to do this?
Not possible AKAIK, but one can use ctrl-\
to exit Iex and Erl.
As far as I know, this is not possible right now. IEx operations support comes directly from the Erlang shell, and this is not implemented in Erlang.
Most probably it won't be ever implemented either - this change was already proposed and rejected: https://github.com/erlang/otp/pull/983
Not possible AKAIK, but one can use ctrl-\
to exit Iex and Erl.
© 2022 - 2024 — McMap. All rights reserved.
iex
to exit on ctrl-D may not be wise but I'm still curious if it's possible. – Miltie