@LuisMendo When input("") hits EOF, there's an out of bounds error in the C++ implementation that crashes Octave, at least when using the latest version of libcxx. I assume that is not by design.
Pressing Ctrl-D on an empty REPL line has the same effect. For better or worse, libcxx's new out-of-bounds checks uncover a lot of these.