Using hFlush to push the prompt to stdout before we ask for input. When I tried this before it didn't work becuase I was using hFlush on stdin, which was obviously wrong.