remove newline from prompt