Fix display of newlines in user input

Please double-check as I wasn't able to test this locally.