mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-13 13:05:37 +00:00
Highlight prompt in yellow in line history
This commit is contained in:
parent
1f59b4d2ba
commit
f6d87c7a7e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user