Reformat prompt to single line