IPython for example allows Ctrl + D to quit it.
Doing that in INim gives:
INim 0.2.0
Nim Compiler Version 0.18.1 [Linux: amd64] at /home/kmodi/stowed/bin/nim
>>>
inim.nim(141) inim
inim.nim(78) runForever
rdstdin.nim(83) readLineFromStdin
Error: unhandled exception: Linenoise returned nil [IOError]