@property<EOL><INDENT>def prompt(self):<DEDENT>
if self.prompt_string is not None:<EOL><INDENT>return self.prompt_string<EOL><DEDENT>if not self.color_enabled:<EOL><INDENT>return ('<STR_LIT:U+0020>'.join(self.command) + '<STR_LIT>').encode('<STR_LIT:utf8>')<EOL><DEDENT>color = '<STR_LIT>'<EOL>sub_color = '<STR_LIT>'<EOL>prompt_cmd = [<EOL>self.colorize('<STR_LIT>' + color, part) if part != self.cmd_sub_str else<EOL>self.colorize('<STR_LIT>' + sub_color, u'<STR_LIT>') for part in self.command<EOL>]<EOL>return '<STR_LIT:U+0020>'.join(prompt_cmd) + self.colorize('<STR_LIT>' + color, '<STR_LIT>')<EOL>
Returns the UTF-8 encoded prompt string.