def writemessage(self, text):
log.debug('<STR_LIT>', text)<EOL>self.write(chr(<NUM_LIT:10>)+text+chr(<NUM_LIT:10>))<EOL>self.write(self._current_prompt+'<STR_LIT>'.join(self._current_line))<EOL>
Write out an asynchronous message, then reconstruct the prompt and entered text.