mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 22:42:26 +01:00
Fix 'match 5 of 4' to be correct
This commit is contained in:
@@ -107,8 +107,12 @@ function CommandLine() //{{{
|
||||
var wildIndex = 0; // keep track how often we press <Tab> in a row
|
||||
var startHints = false; // whether we're waiting to start hints mode
|
||||
|
||||
var statusTimer = new util.Timer(5, 100, function ()
|
||||
statusline.updateProgress("match " + (completionIndex + 1) + " of " + completions.length));
|
||||
var statusTimer = new util.Timer(5, 100, function () {
|
||||
if (completionIndex >= completions.length)
|
||||
statusline.updateProgress("");
|
||||
else
|
||||
statusline.updateProgress("match " + (completionIndex + 1) + " of " + completions.length);
|
||||
});
|
||||
var autocompleteTimer = new util.Timer(201, 300, function (command) {
|
||||
if (events.feedingKeys)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user