catch NULL input in interpreter_chat_mode

This is a very minimal fix that resolves #89

There is no line break, so you get an additional prompt on the current line if you terminate the chat with ctrl+d. Someone who knows the code base a bit better could probably put a newline in the correct place :)