Add escapes to prompt to fix line length detection.