mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +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('\\'):
|
if self.input.endswith('\\'):
|
||||||
self.input = self.input[:-1]
|
self.input = self.input[:-1]
|
||||||
self.input_cursor -= 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))
|
self.do_command(self.input.encode(self.encoding))
|
||||||
if len(self.input_history) == INPUT_HISTORY_SIZE:
|
if len(self.input_history) == INPUT_HISTORY_SIZE:
|
||||||
# Remove the oldest input history if the max history size
|
# Remove the oldest input history if the max history size
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue