Add option to not store duplicate input in command history for legacy mode.
This commit is contained in:
parent
47ba11be1b
commit
249e331ae9
|
@ -170,7 +170,8 @@ DEFAULT_PREFS = {
|
|||
"downloaded_width":13,
|
||||
"uploaded_width":13,
|
||||
"owner_width":10,
|
||||
"disable_three_dots": False
|
||||
"disable_three_dots": False,
|
||||
"ignore_duplicate_lines": False
|
||||
}
|
||||
|
||||
column_pref_names = ["queue","name","size","state",
|
||||
|
|
|
@ -312,6 +312,7 @@ class InterfacePane(BasePane):
|
|||
BasePane.__init__(self,offset,parent,width)
|
||||
self.add_header("General")
|
||||
self.add_checked_input("disable_three_dots","Do not append three dots symbol when trimming columns",parent.console_config["disable_three_dots"])
|
||||
self.add_checked_input("ignore_duplicate_lines","Do not store duplicate input in history",parent.console_config["ignore_duplicate_lines"])
|
||||
self.add_header("Columns To Display")
|
||||
for cpn in deluge.ui.console.modes.alltorrents.column_pref_names:
|
||||
pn = "show_%s"%cpn
|
||||
|
|
Loading…
Reference in New Issue