Highlight prompt in yellow in line history

This commit is contained in:
Asmageddon 2012-05-29 17:47:52 +02:00
parent 1f59b4d2ba
commit f6d87c7a7e
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ class Legacy(BaseMode, component.Component):
if self.input.endswith('\\'):
self.input = self.input[:-1]
self.input_cursor -= 1
self.add_line(">>> " + self.input)
self.add_line("{!yellow,black,bold!}>>>{!input!} %s" % self.input)
self.do_command(self.input.encode(self.encoding))
if len(self.input_history) == INPUT_HISTORY_SIZE:
# Remove the oldest input history if the max history size