1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 10:17:58 +01:00

Autocomplete magic.

This commit is contained in:
Kris Maglione
2011-01-04 11:11:15 -05:00
parent 3350f3d4bf
commit 8e563fb3bc

View File

@@ -604,8 +604,10 @@ var CommandLine = Module("commandline", {
this._completions = CommandLine.Completions(this.widgets.active.command.inputField); this._completions = CommandLine.Completions(this.widgets.active.command.inputField);
// open the completion list automatically if wanted // open the completion list automatically if wanted
if (cmd.length) if (cmd.length) {
commandline.triggerCallback("change", this.currentExtendedMode, cmd); commandline.triggerCallback("change", this.currentExtendedMode, cmd);
this._autocompleteTimer.flush();
}
}, },
/** /**