I3oris / ic

REPL Interface wrapping Crystal Interpreter (crystal-i).
MIT License
48 stars 2 forks source link

^d should exit the terminal #24

Open robacarp opened 1 week ago

robacarp commented 1 week ago

The console seem to respect a lot of libreadline style bindings, but ^d doesn't exit.

zw963 commented 1 week ago

You can try typing exit to exit, i issue many issue you created come from interpreter itself, that is why this is a EXPERIMENTAL feature, in fact, many issue hard to solve, even the original author of interpreter (both the author of Crystal too), not live on Crystal community, so, it won't be resolved quickly.

robacarp commented 1 week ago

@zw963 I don't think I understand the relationship between this project and the crystal i interpreter, but I discovered today that ^d does indeed exit the official crystal interpreter.

zw963 commented 1 week ago

It not happen on some cases, in fact, ^d indeed exit when use with ic, how to reproduce this issue?