How to stop input inside iex

Thanks!
But this way I do not get the input.

I hope there’s a way of transmitting EOT or EOF.