mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 04:52:31 +02:00
Restrict history completion to 100 items by default.
This commit is contained in:
1 parent
9200548683
commit
b56f543e3f
1 file changed
+3
-1
@@ -1332,12 +1332,14 @@ function Completion() //{{{
|
||||
}
|
||||
},
|
||||
|
||||
history: function _history(context)
|
||||
history: function _history(context, maxItems)
|
||||
{
|
||||
context.format = history.format;
|
||||
context.title = ["History"]
|
||||
context.compare = null;
|
||||
//context.background = true;
|
||||
if (context.maxItems == null)
|
||||
context.maxItems = 100;
|
||||
context.regenerate = true;
|
||||
context.generate = function () history.get(context.filter, this.maxItems);
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user