Fixes newline bug in prompt.