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

Better list option parsing and serialization.

This commit is contained in:
Kris Maglione
2010-09-24 15:24:21 -04:00
parent fa20629524
commit 0753c9505e
8 changed files with 121 additions and 66 deletions

View File

@@ -1071,7 +1071,8 @@ const CommandLine = Module("commandline", {
*/
select: function (backward, matchCurrent) {
// always reset the tab completion if we use up/down keys
commandline._completions.reset();
if (commandline._completions)
commandline._completions.reset();
let diff = backward ? -1 : 1;