anchor.diff:  qprompt.ask_str(vld=lambda x: x.startswith("spa"))
   # [?] Enter a string: foo
   # [?] Enter a string: spam
  +
  +qprompt.ask_str("Enter a path", vld=lambda x: os.path.exists(x))
  +# [?] Enter a path: C:\Windows
  +--------
  +
  +Robot problem? Try using a captcha:
  +
  +[source,python]
  +--------
  +qprompt.ask_captcha()
  +# [?] Enter the following letters, "kslg":
  +
  +qprompt.ask_captcha(length=6)
  +# [?] Enter the following letters, "dkixzp":
   --------
   
   Here is a basic menu:
  
positive.code: qprompt.ask_int()
  qprompt.ask_float()
  qprompt.ask_str()
  qprompt.ask_captcha()
  --------
  
  Optional validity checks can be added:
  
negative.code: qprompt.pause()
  # Press ENTER to continue...
  
  qprompt.hrule(width=10)
  # ----------
  
  qprompt.wrap("hello world", "hi", width=10)
  # /-- hi ---
  # hello world
  # \---------
  