Fix PS1 newline bug