1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 09:12:28 +01:00

Fix "match n of m" remaining in the progress line after <Esc>.

This commit is contained in:
Kris Maglione
2010-12-20 11:12:30 -05:00
parent b0e9d14979
commit dc0cb2ab9f
2 changed files with 3 additions and 4 deletions

View File

@@ -257,9 +257,7 @@ const CommandLine = Module("commandline", {
});
this._statusTimer = Timer(5, 100, function statusTell() {
if (self._completions == null)
return;
if (self._completions.selected == null)
if (self._completions == null || self._completions.selected == null)
statusline.progess = "";
else
statusline.progress = "match " + (self._completions.selected + 1) + " of " + self._completions.items.length;