wouldn't displayPrompt(true) which preserves cursor position be better?