1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 15:07:57 +01:00

Fix prompt (namely hint mode) completions.

This commit is contained in:
Kris Maglione
2011-02-01 19:12:26 -05:00
parent cf9be47589
commit e80eb262fb
2 changed files with 7 additions and 3 deletions

View File

@@ -434,9 +434,9 @@ var CommandPromptMode = Class("CommandPromptMode", CommandMode, {
init.supercall(this);
},
complete: function () {
complete: function (context) {
if (this.completer)
return this.completer.apply(this, arguments);
context.forkapply("prompt", 0, this, "completer", Array.slice(arguments, 1));
},
get mode() modes.PROMPT