From f6d87c7a7ea1977fdf822442e1af0d0769ddec3d Mon Sep 17 00:00:00 2001 From: Asmageddon Date: Tue, 29 May 2012 17:47:52 +0200 Subject: [PATCH] Highlight prompt in yellow in line history --- deluge/ui/console/modes/legacy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/console/modes/legacy.py b/deluge/ui/console/modes/legacy.py index 685531348..4d1bdd651 100644 --- a/deluge/ui/console/modes/legacy.py +++ b/deluge/ui/console/modes/legacy.py @@ -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