keep control-d as exit on empty line