code: def text(self, prompt, default=None):
          
          prompt = prompt if prompt is not None else 'Enter some text'
          prompt += " [{0}]: ".format(default) if default is not None else ': '
          return self.input(curry(filter_text, default=default), prompt)
docs: Prompts the user for some text, with optional default