Fix bug #55496 Interactive mode doesn't force a newline before the prompt