Refresh the prompt after each keypress in prompt_yn().

  This looks neater.