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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user