'Writes prompt from REPL into this view. Prompt is treated like
regular output, except output is inserted before the prompt.'

def write_prompt(self, unistr):

    self._prompt_size = 0
    self.write(unistr)
    self._prompt_size = len(unistr)
