code: def remove_prompt(self):
      
      with self._cond:
        self._prompt = None
        if self._console_prompt:
          self._console_prompt.Stop()
          self._console_prompt = None
        self.notify_update()
docs: Remove the prompt.