1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 16:37:58 +01:00

Fix <A-Tab>

This commit is contained in:
Kris Maglione
2011-10-04 03:05:39 -04:00
parent 0c1fc4f421
commit 3693c79f13
4 changed files with 41 additions and 30 deletions

View File

@@ -1381,6 +1381,7 @@ var CommandLine = Module("commandline", {
if (this.context.waitingForTab || this.wildIndex == -1)
this.complete(true, true);
this.wildtypes = wildmode;
let count = Math.abs(offset);
let steps = Math.constrain(this.wildtypes.length - this.wildIndex,
1, count);