mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
Highlight prompt in yellow in line history
This commit is contained in:
parent
1f59b4d2ba
commit
f6d87c7a7e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue