1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 18:32:25 +01:00

Fix 'match 5 of 4' to be correct

This commit is contained in:
Daniel Bainton
2008-10-21 14:03:56 +00:00
parent 6a042e539d
commit 3e2f97cee5

View File

@@ -107,8 +107,12 @@ function CommandLine() //{{{
var wildIndex = 0; // keep track how often we press <Tab> in a row 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 startHints = false; // whether we're waiting to start hints mode
var statusTimer = new util.Timer(5, 100, function () var statusTimer = new util.Timer(5, 100, function () {
statusline.updateProgress("match " + (completionIndex + 1) + " of " + completions.length)); if (completionIndex >= completions.length)
statusline.updateProgress("");
else
statusline.updateProgress("match " + (completionIndex + 1) + " of " + completions.length);
});
var autocompleteTimer = new util.Timer(201, 300, function (command) { var autocompleteTimer = new util.Timer(201, 300, function (command) {
if (events.feedingKeys) if (events.feedingKeys)
return; return;